search for: initializable

Displaying 20 results from an estimated 36 matches for "initializable".

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 /Us...
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
...sers/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/finisher.rb:64:in `call'' from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/finisher.rb:64 from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec'' from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `run'' from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `run_initializers'' from /Users/liujunju...
2013 Apr 13
2
running rails on my linux mint
...from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/railtie.rb:88 from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `run_initializers'' from /var/lib/gems/1.8/gems/railties-3.2.13/lib/ra...
2011 May 27
3
unable to start server
.../railties-3.0.7/lib/rails/application/finisher.rb:51 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52:in `call'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application/finisher.rb:52 from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `instance_exec'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:25:in `run'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/initializable.rb:50:in `run_initializers'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/in...
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/lib/...
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/rub...
2014 Mar 10
0
Mongoid : bson namespace error
...from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-4.0.2/lib/rails/engine.rb:608:in `each' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-4.0.2/lib/rails/engine.rb:608:in `block in <class:Engine>' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `instance_exec' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `run' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-4.0.2/lib/rails/initializable.rb:55:in `block in run_initializers' from C:/Ruby193/lib/ruby/1...
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:/Ruby192/l...
2009 Oct 27
1
How to change a slot by a method?
In the following code, 'multiply' doesn't multiply 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', +
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/lib/ru...
2009 Oct 26
1
Why 'validity' is not called? (S4)
I thought that 'validity' defined in 'setClass' should be called in 'new'. Could somebody let me know why 'validity' is not called? How to make it be called? > setClass( + Class='A', + representation=representation( + x='numeric' + ), + validity=function(object){ + cat("~~~ A: inspector ~~~\n") +
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
...vesupport-3.0.0/lib/active_support/lazy_load_hooks.rb:26:in `on_load'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/railtie.rb:52:in `block in <class:Railtie>'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/initializable.rb:25:in `instance_exec'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/initializable.rb:25:in `run'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/initializable.rb:50:in `block in run_initializers'' from C:/Rub...
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
....1.0/lib/action_dispatch/middleware/reloader.rb:46:in `prepare!'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/application/finisher.rb:41:in `block in <module:Finisher>'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `instance_exec'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:25:in `run'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/initializable.rb:50:in `block in run_initializers'' from /home/...
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/rub...
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/railti...
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''...