search for: observed_classes

Displaying 5 results from an estimated 5 matches for "observed_classes".

2009 Nov 26
4
Is this a bug?
Hello all, while I''m using acts_as_audited(on jruby platform), after vendored the acts_as_audited, it reports some error, line 167, # Start observing the declared classes and their subclasses. def initialize Set.new(observed_classes + observed_subclasses).each { |klass| add_observer! klass } #this line end after some trace shows this one, when observed_classes is empty, will return 0(Fixnum) causes the above line to report error, def observed_subclasses observed_classes.sum([]) { |klass| klass.send(:subclasses) } en...
2010 Nov 05
0
RoR:OSV: Installation issue
...activesupport-2.3.8/lib/active_support/ core_ext/string/inflections.rb:162:in `constantize'' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ observer.rb:157:in `observed_class'' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ observer.rb:183:in `observed_classes'' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_record/ observer.rb:166:in `initialize'' from /usr/lib/ruby/1.8/singleton.rb:94:in `new'' from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'' from /var/lib/gems/1.8/gems/activerecord-2.3.8/lib/active_r...
2012 Feb 11
1
rake command shows the error
...upport-2.3.8/lib/active_support/core_ext/string/inflections.rb:162:in `constantize'' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:157:in `observed_class'' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:183:in `observed_classes'' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/active_record/observer.rb:166:in `initialize'' from /usr/lib/ruby/1.8/singleton.rb:94:in `new'' from /usr/lib/ruby/1.8/singleton.rb:94:in `instance'' from /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib...
2009 Mar 15
3
Capistrano deploy errors
...ort-2.2.2/lib/ active_support/core_ext/string/inflections.rb:162:in `constantize'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:157:in `observed_class'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:183:in `observed_classes'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/ observer.rb:166:in `initialize'' /usr/local/lib/ruby/1.8/singleton.rb:94:in `new'' /usr/local/lib/ruby/1.8/singleton.rb:94:in `instance'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/li...
2004 Oct 25
1
Rails 0.8: Just shy of 100 additions, changes, tweaks, and fixes!
It''s been fifty days since our last confession, so it''s no wonder that this outpouring is by far the biggest yet in Rails history. It''s absolutely packed with goodies ranging from a whole new framework for sending email to the smallest new alias for an existing method. In total we''re just shy of 100 additions, changes, tweaks, and fixes. This is also