Displaying 20 results from an estimated 36 matches for "initializ".
Did you mean:
initialize
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
.../.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/application.rb:108:in
`eager_load!''
from
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/application/finisher.rb:41
from
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/initializable.rb:25:in
`instance_exec''
from
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/initializable.rb:25:in
`run''
from
/Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/initializable.rb:50:in
`run_initializers''
from...
2013 Apr 09
2
Getting Started
...lib/active_record/base.rb:720:in
`<top (required)>''
from
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activerecord-3.2.13/lib/active_record/railtie.rb:88:in
`block in <class:Railtie>''
from
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in
`instance_exec''
from
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in
`run''
from
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:55:in
`block in run_initializers''...
2011 Dec 07
1
Errors when running the local server
...ion/routes_reloader.rb:29:in
`load_paths''
from
/Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/routes_reloader.rb:13:in
`reload!''
from
/Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/routes_reloader.rb:7:in
`initialize''
from
/Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/file_update_checker.rb:32:in
`call''
from
/Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/file_update_checker.rb:32:in
`execute_if_updated''...
2013 Apr 13
2
running rails on my linux mint
...Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `connect'':
Unknown database ''simple_pod_development'' (Mysql2::Error)
from /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in
`initialize''
from
/var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in
`new''
from
/var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in
`mysql2_connection''
from
/v...
2011 May 27
3
unable to start server
...in
`default_controller_and_action'': missing :controller (ArgumentError)
from
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:72:in
`normalize_options!''
from
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:55:in
`initialize''
from
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in
`new''
from
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:272:in
`match''
from
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispa...
2010 Nov 29
4
Error heroku: App Crashed
Hi ,
i developed a small application(which contails only static pages) . I
tried to host that on heroku .just when everything was finished when
i
opened my site i,e http://floating-moon-89.heroku.com/ i am getting
an
error as App Crashed..where did it gone wrong? pls help...
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2014 Jun 07
0
Multitenancy with Rails and rspec
...rom
C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:590:in
`each'
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/engine.rb:590:in
`block in <class:Engine>
'
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in
`instance_exec'
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:30:in
`run'
from
C:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.5/lib/rails/initializable.rb:55:in
`block in run_init
ializers'
from C:/Ruby200/...
2012 Jun 26
0
no such file load errors - md5
....9/gems/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:436:in
`eager_load!''
from
/opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.2.2/lib/rails/application/finisher.rb:53:in
`block in <module:Finisher>''
from
/opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:30:in
`instance_exec''
from
/opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:30:in
`run''
from
/opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:55:in
`block in run_initializers''
from
/opt/local/lib...
2014 Mar 10
0
Mongoid : bson namespace error
...g
with NameSpace error for BSON::ByteBuffer.
It is trying to connect to mongodb server initially and getting successful.
Post that it is failing with the following error
>rails generate
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mongo-1.9.2/lib/mongo/cursor.rb:585:in
`construct_query_message': uninitialized constant BSON::ByteBuffer
(NameError)
from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mongo-1.9.2/lib/mongo/cursor.rb:497:in
`block in send_initial_query'
from
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mongo-1.9.2/lib/mongo/util/logging.rb:55:in
`block in instrument'
from
C:/Ru...
2011 Apr 09
1
Problem with "open_id_authentication" plugin
...from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.6/lib/rails/plugin.rb:81:in
`eval''
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.6/lib/rails/plugin.rb:81:in
`block in <class:Plugin>''
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.6/lib/rails/initializable.rb:25:in
`instance_exec''
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.6/lib/rails/initializable.rb:25:in
`run''
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.6/lib/rails/initializable.rb:50:in
`block in run_initializers''
from
C:/Ruby1...
2009 Oct 27
1
How to change a slot by a method?
...tiply a at x by 2. I'm
wondering how to define a method that can change the slot of a class.
$ Rscript setGeneric.R
> setClass(
+ Class='A',
+ representation=representation(
+ x='numeric'
+ )
+ )
[1] "A"
>
> setMethod(
+ f='initialize',
+ signature='A',
+ definition=function(.Object,x){
+ cat("~~~ A: initializator ~~~\n")
+ .Object<-callNextMethod(.Object,x=x)
+ return(.Object)
+ }
+ )
[1] "initialize"
>
> setGeneric(
+ name='multiply',
+...
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
...39;'
from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/
rails/application.rb:108:in `eager_load!''
from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/
rails/application/finisher.rb:41
from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/
rails/initializable.rb:25:in `instance_exec''
from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/
rails/initializable.rb:25:in `run''
from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/
rails/initializable.rb:50:in `run_initializers''
from C:/Ruby187/li...
2009 Oct 26
1
Why 'validity' is not called? (S4)
...x='numeric'
+ ),
+ validity=function(object){
+ cat("~~~ A: inspector ~~~\n")
+ if(object at x<0){
+ stop("[A:validation] object at x<0")
+ }
+ return(T)
+ }
+ )
[1] "A"
> setMethod(
+ f='initialize',
+ signature='A',
+ definition=function(.Object,x){
+ cat("~~~ A: initializator ~~~\n")
+ .Object at x=x
+ return(.Object)
+ }
+ )
[1] "initialize"
> new(Class='A', x=10)
~~~ A: initializator ~~~
An object of class \u201...
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
...m fa
C:\forex>rails server
=> Booting WEBrick
=> Rails 3.0.0 application starting in development on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache/file_store.rb:17:in
`initialize'': wrong number of arguments (0 for 1) (ArgumentError)
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache.rb:69:in
`new''
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/cache.rb:69:in
`lookup_store&...
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All,
I have installed the Active Admin successfully, but facing the following
error while restarting the server after generating an resource.
*rails generate active_admin:resource item*
/home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top
(required)>'': uninitialized constant Item (NameError)
from
/home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3.1/lib/active_admin/application.rb:129:in
`block in load!''
from
/home/logs/.rvm/gems/ruby-1.9.2-p290/gems/activeadmin-0.3.1/lib/active_admin/application.rb:129:in
`each''
from
/hom...
2010 Jul 22
9
Something went wrong.
My app works fine in development on my laptop but in production on my
server I get "We''re sorry, but something went wrong. We''ve been notified
about this issue and we''ll take a look at it shortly."
I am using Rails 3, Ruby 1.8.7, Apache and passenger 2.2.15
I get the welcome aboard page in production if I just go to the domain
name but as soon as I want data
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
...oller.rb` above or
below the class definition, Rails dies during autoloading in
activesupport-3.2.8/lib/active_support/dependencies.rb:469 due to an
unexpected return (LocalJumpError).
Here is the log:
return
/path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/railties-3.2.8/lib/rails/initializable.rb.30
#<Binding:0x007ff7b1403d40> Rails::Initializable::Initializer run
return
/path/to/.rvm/gems/ruby-1.9.3-p194@some_app_gemset/gems/railties-3.2.8/lib/rails/initializable.rb.54
#<Binding:0x007ff7b14039a8> Rails::Initializable run_initializers
return
/path/to/.rvm/gems...
2012 Feb 20
0
Cannot start rails server: Please install the adapter: `gem install activerecord--adapter`
.../ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:26:in
`on_load''
from
/usr/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_record/railtie.rb:74:in
`block in <class:Railtie>''
from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/initializable.rb:30:in
`instance_exec''
from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/initializable.rb:30:in
`run''
from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/initializable.rb:55:in
`block in run_initializers''
from
/usr/lib/ruby/gems/1.9.1/gems/ra...
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for
set_trace_func, so next time you want to just add a line before and after
some function you are trying to debug you can have Ruby temporarily output
every line, method, etc. executed. Also, it lets you define the format, use
other loggers, etc. via a proc/lambda define, since you might not like the
default format.
2011 Feb 05
1
ActionMailer::Base.default_url_options
....3/lib/rails/application.rb:108:in
`eager_load!''
from
/Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/application/finisher.rb:41:in
`block in <module:Finisher>''
from
/Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/initializable.rb:25:in
`instance_exec''
from
/Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/initializable.rb:25:in
`run''
from
/Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/rails/initializable.rb:50:in
`block in run_initializers'...