Displaying 13 results from an estimated 13 matches for "execute_hook".
2013 Feb 02
2
rake db:migrate problem
...ord-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/activesupport-3.2.9/lib/active_support/lazy_load_hooks.rb:42:in
`each''
/home/mini/my_gems/gems/activesupport-3.2.9/lib/active_support...
2013 Apr 09
2
Getting Started
...n <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
`block in run_load_hooks''
from
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/lazy_load_hooks.rb:42:in
`each''...
2011 May 06
1
scaffold didn't work
...uby/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 /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/
active_support/lazy_load_hooks.rb:42:in `each''
from /usr/lib/ruby/gems/1.8/gems/active...
2014 Feb 17
0
Need help -FATAL: database "catarse_development" does not exist
...ers/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/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/lazy_load_hooks.rb:27:in
`each'
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesup...
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
...k (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_load_hooks''
from
/home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.0/lib/active_support/lazy_load_hooks.rb:42:in
`each''
from
/home...
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
...k (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''
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>''
fr...
2012 Feb 20
0
Cannot start rails server: Please install the adapter: `gem install activerecord--adapter`
.../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/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/...
2011 Feb 05
1
ActionMailer::Base.default_url_options
...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:43:in
`block in run_load_hooks''
from
/Users/sebastian/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:42:in
`each...
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
...-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:/Ruby192/lib/ruby/gems/1.9.1/gems/activesupport-3.0.3/lib/active_support/lazy_load_hooks.rb:42:in
`each''
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ac...
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
2013 Apr 13
3
Cannot reach http://localhost:3000 after starting Ruby on Rails server
...n <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 `block in run_load_hooks''
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/
activesupport-3.2.13/lib/ac
tive_support/lazy_load_hooks.rb:42:in `each''...
2012 Feb 26
15
ActiveRecord::ConnectionNotEstablished
Hi,
I am trying the tutorial in:
http://guides.rubyonrails.org/getting_started.html
when I try to navigate to http://localhost:3000 after the 4.3 change
I get the error : ActiveRecord::ConnectionNotEstablished
and I don''t know how to solve it
the database.yml file is:
adapter => mysql
host => 127.0.0.1
database => blog
username => root
password => *****
my