search for: subclassnotfound

Displaying 6 results from an estimated 6 matches for "subclassnotfound".

2012 Jun 09
3
ActiveRecord::SubclassNotFound: The single-table inheritance mechanism failed to locate the subclass: 'Transactions::DummyDdnlTransaction'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Pleas
Hello, I stumble upon this error when loading a subclass of the Transaction class. For full details, see the pastie: http://pastie.org/4053678 Error message: ActiveRecord::SubclassNotFound: The single-table inheritance mechanism failed to locate the subclass: ''Transactions::DummyDdnlTransaction''. 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...
2012 Jun 09
0
Re: ActiveRecord::SubclassNotFound: The single-table inheritance mechanism failed to locate the subclass: 'Transactions::DummyDdnlTransaction'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. P
...mmander Johnson <commanderjohnson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hello, > > I stumble upon this error when loading a subclass of the Transaction > class. For full details, see the pastie: > > http://pastie.org/4053678 > > Error message: ActiveRecord::SubclassNotFound: The single-table > inheritance mechanism failed to locate the subclass: > ''Transactions::DummyDdnlTransaction''. This error is raised because the > column ''type'' is reserved for storing the class in case of > inheritance. Please rename this column if...
2006 Apr 22
6
STI and type tables?
So by default to get STI, I would have something like: create_table :items do |t| t.column "type", :string t.column "title", :string end But if I want to store those type values in a separate table, such that I have ... create_table :items do |t| t.column "item_type_id", :string t.column "title", :string
2006 Mar 26
4
select information from sqlite_master error
...y version, sqlite version and db size and db stats information. I tried running: @db_stats = ZenDesk::Models::Base.find_by_sql("SELECT * FROM sqlite_master") to see what information I could gleen from the master table and I got this error: ZenDesk::Controllers::Admin.GET ActiveRecord::SubclassNotFound The single-table inheritance mechanism failed to locate the subclass: ''table''. 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 be used for stori...
2006 May 11
0
Handling instantiate_without_callbacks
...''type'' is reserved for storing the class in case of inheritance. Please rename this column if you didn''t intend it to be used for storing the inheritance class or overwrite NmeaSentence.inheritance_column to use another column for that information. (ActiveRecord::SubclassNotFound) 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 Jan 30
9
error when adding a new table to the existing application
Deniz wrote: > Hi Everybody, > I am a newbie in this list so please forgive me if this is a lengthy > message. > Currently I am working on a project at my work place that includes > viewing some oracle tables(I do not have control over to rewrite the > tables) and searching the tables based on a given criteria with Rails. > Up untill now everything was working great. The