search for: instantiate_without_callback

Displaying 11 results from an estimated 11 matches for "instantiate_without_callback".

2006 May 11
0
Handling instantiate_without_callbacks
...e. Another app scans the app and performs actions. However, it is possible that the second app does not implement a class, in which case, the superclass should be instantiated. Now I''m getting: /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/ active_record/base.rb:985:in `instantiate_without_callbacks'': The single-table inheritance mechanism failed to locate the subclass: ''RMC''. This error is raised because the column ''type'' is reserved for storing the class in case of inheritance. Please rename this column if you didn''t intend it to...
2005 Dec 18
7
Testing against 1.8.4
So apparently 1.8.4 is soon forthcoming. We need testing against it. Could someone help out with that? I believe Ara already checked into some of the issues, do you know if those are resolved, Ara? -- David Heinemeier Hansson http://www.loudthinking.com -- Broadcasting Brain http://www.basecamphq.com -- Online project management http://www.backpackit.com -- Personal information manager
2006 May 05
1
Help with ActiveRecord
...ompile error (eval):1: parse error, unexpected tINTEGER Object::0 ^ from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1244:in `compute_type'' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:983:in `instantiate_without_callbacks'' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:215:in `instantiate'' from /opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:390:in `find_by_sql'' from /opt/local/lib/ruby/gems/1....
2006 Jun 27
3
Weird ActiveRecord Foreign Key Problem
...ems/activerecord-1.14.2/lib/active_record/base.rb:1244:in `instance_eval'' c:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1244:in `compute_type'' c:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:983:in `instantiate_without_callbacks'' c:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:215:in `instantiate'' c:/programme/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:390:in `find_by_sql'' c:/programme/ruby/lib/ruby/gems/1.8/gems/active...
2006 Jan 30
9
error when adding a new table to the existing application
...cript/../config/..| > > Application Trace <http://localhost:3000/cfg_dn#> | Framework Trace > <http://localhost:3000/cfg_dn#> | Full Trace > <http://localhost:3000/cfg_dn#> > >|c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:890:in `instantiate_without_callbacks'' >c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:215:in `instantiate'' >c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:431:in `find_by_sql'' >c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/ac...
2006 Jan 27
5
Newbie:Adding a new Table-Strange Error
...3:Fixnum |RAILS_ROOT: ./script/../config/..| Application Trace <http://localhost:3000/cfg_dn#> | Framework Trace <http://localhost:3000/cfg_dn#> | Full Trace <http://localhost:3000/cfg_dn#> |c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:890:in `instantiate_without_callbacks'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:215:in `instantiate'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:431:in `find_by_sql'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/...
2006 Dec 14
3
Problem with ActiveRecord and Associations
...e_type'': compile error (eval):1: parse error, unexpected tINTEGER Object::0 ^): c:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1244:in `compute_type'' c:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:983:in `instantiate_without_callbacks'' c:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:215:in `instantiate'' c:/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:390:in `find_by_sql'' If I uncomment out the line above containing the 2nd find_by...
2006 Mar 26
4
select information from sqlite_master error
...name this column if you didn''t intend it to be used for storing the inheritance class or overwrite ActiveRecord::Base.inheritance_column to use another column for that information.: C:/Program Files (x86)/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:897:in `instantiate_without_callbacks'' C:/Program Files (x86)/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/callbacks.rb:215:in `instantiate'' C:/Program Files (x86)/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:431:in `find_by_sql'' C:/Program Files (x8...
2006 Mar 29
0
Intermittent error - undefined method ''destroy_without_callbacks''
...ociation'' /vendor/rails/activesupport/lib/active_support/dependencies.rb:75:in `require_association'' /vendor/rails/activerecord/lib/active_record/associations.rb:894:in `require_association_class'' /vendor/rails/activerecord/lib/active_record/base.rb:981:in `instantiate_without_callbacks'' /vendor/rails/activerecord/lib/active_record/callbacks.rb:215:in `instantiate'' /vendor/rails/activerecord/lib/active_record/base.rb:390:in `find_by_sql'' /vendor/rails/activerecord/lib/active_record/base.rb:390:in `collect!'' /vendor/rails/a...
2006 Dec 22
2
Relating Namespaced Models
...#39; from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1.5618/lib/active_support/dependencies.rb:470:in `const_missing'' from (eval):1:in `compute_type'' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5618/lib/active_record/base.rb:1066:in `instantiate_without_callbacks'' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5618/lib/active_record/callbacks.rb:204:in `instantiate'' from /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4.5618/lib/active_record/base.rb:424:in `find_by_sql'' from /usr/local/lib...
2006 Jun 22
11
Help please
Getting this error: SyntaxError in CompanyController#positionslist (eval):1:in `compute_type'': compile error (eval):1: parse error, unexpected tINTEGER Object::2 I could not find anything out about it (googling) and it''s not the clearest error message. Not sure if it''s related to an expected data type but that wouldn''t make sense. The only other thing I can