search for: lazy_load_hook

Displaying 12 results from an estimated 12 matches for "lazy_load_hook".

Did you mean: lazy_load_hooks
2013 Feb 02
2
rake db:migrate problem
..._gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in `database_configuration'' /home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in `block (2 levels) in <class:Railtie>'' /home/mini/my_gems/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'' /home/mini/my_gems/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'' /home/mini/my_gems/gems/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'' /home/mini/my_gems/gems/activ...
2013 Apr 09
2
Getting Started
...rb:130:in `establish_connection'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activerecord-3.2.13/lib/active_record/railtie.rb:82:in `block (2 levels) in <class:Railtie>'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:43:in...
2011 May 06
1
scaffold didn't work
...; from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/ application/configuration.rb:88:in `database_configuration'' from /usr/lib/ruby/gems/1.8/gems/activerecord-3.0.7/lib/ active_record/railtie.rb:58 from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/ active_support/lazy_load_hooks.rb:36:in `instance_eval'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/ active_support/lazy_load_hooks.rb:36:in `execute_hook'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/ active_support/lazy_load_hooks.rb:43:in `run_load_hooks'' from /...
2014 Feb 17
0
Need help -FATAL: database "catarse_development" does not exist
.../observers/active_model/observing.rb:108:in `instantiate_observers' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/rails-observers-0.1.2/lib/rails/observers/railtie.rb:24:in `block (2 levels) in <class:Railtie>' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook' /usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:28:in `block in on_load' /usr/local/rvm/ge...
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
...specification.rb:127:in `establish_connection'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.2.0/lib/active_record/railtie.rb:76:in `block (2 levels) in <class:Railtie>'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:43:in `block in run_...
2011 Feb 05
1
ActionMailer::Base.default_url_options
...er/railtie.rb:22:in `each'' from /Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/actionmailer-3.0.3/lib/action_mailer/railtie.rb:22:in `block (2 levels) in <class:Railtie>'' from /Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'' from /Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'' from /Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:...
2013 Mar 14
7
No Migration Files are created
I''ve been working with Rails for 3 Months now, but haven''t experienced this problem until now. I''m currently working through Micharl Hartls Tutorial and everything worked fine so far, but suddenly (chapter 11) I can nolonger create Migration Files. when entering "rails g model Name field1:type" I don''t get the usual "create db/migrate...."
2010 Dec 15
3
ORA-12514: TNS:listener d oes not currently know of service requested in connect descriptor (OCIEr
...`<top (required)>'' . . C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-oracle_enhanced-adapter-1.3.1/lib/activerecord-orac le_enhanced-adapter.rb:12:in `block in <class:OracleEnhancedRailtie>'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:43:in `block in run_load_hooks'' C:/Ru...
2011 Sep 13
3
Accessing Rails helper method with_output_buffer
Hi all, I cannot figure out how to correctly use the with_output_buffer helper method (located in ActionView::Helpers::CaptureHelper) inside a custom FormBuilder. Below follows a simplified example. I''m trying to achieve the following behavior in an ERB as suggested in the form_for helper docs in the Rails source: ========== <%= form_for @object, :builder => MyFormBuilder do
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
...ib/action_controller/railtie.rb:54:in `each'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/railtie.rb:54:in `block (2 levels) in <class:Railtie>'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/lazy_load_hooks.rb:26:in `on_load'&...
2013 Apr 13
3
Cannot reach http://localhost:3000 after starting Ruby on Rails server
...: 130:in `esta blish_connection'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ activerecord-3.2.13/lib/act ive_record/railtie.rb:82:in `block (2 levels) in <class:Railtie>'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ activesupport-3.2.13/lib/ac tive_support/lazy_load_hooks.rb:36:in `instance_eval'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ activesupport-3.2.13/lib/ac tive_support/lazy_load_hooks.rb:36:in `execute_hook'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/ activesupport-3.2.13/lib/ac tive_support/lazy_load_hooks.rb:43:in...
2012 Feb 20
0
Cannot start rails server: Please install the adapter: `gem install activerecord--adapter`
...ers/abstract/connection_specification.rb:127:in `establish_connection'' from /usr/lib/ruby/gems/1.9.1/gems/activerecord-3.2.1/lib/active_record/railtie.rb:76:in `block (2 levels) in <class:Railtie>'' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'' from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:26:in `on_load'' from /usr/lib/rub...