Skip to content

Instantly share code, notes, and snippets.

@zr2d2
Last active August 29, 2015 14:25
Show Gist options
  • Save zr2d2/89eecda48b92b5edabc5 to your computer and use it in GitHub Desktop.
Save zr2d2/89eecda48b92b5edabc5 to your computer and use it in GitHub Desktop.
/opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/activerecord-4.2.3/lib/active_record/inheritance.rb:102:in `base_class': ActiveRecord::Base doesn't belong in a hierarchy descending from ActiveRecord (ActiveRecord::ActiveRecordError)
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/activerecord-4.2.3/lib/active_record/attribute_methods/primary_key.rb:84:in `reset_primary_key'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/activerecord-4.2.3/lib/active_record/attribute_methods/primary_key.rb:73:in `primary_key'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/activerecord-sqlserver-adapter-4.2.4/lib/arel/visitors/sqlserver.rb:178:in `primary_Key_From_Table'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/activerecord-sqlserver-adapter-4.2.4/lib/arel/visitors/sqlserver.rb:145:in `make_Fetch_Possible_And_Deterministic'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/activerecord-sqlserver-adapter-4.2.4/lib/arel/visitors/sqlserver.rb:107:in `visit_Orders_And_Let_Fetch_Happen'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/activerecord-sqlserver-adapter-4.2.4/lib/arel/visitors/sqlserver.rb:69:in `visit_Arel_Nodes_SelectStatement'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/arel-6.0.2/lib/arel/visitors/reduce.rb:13:in `visit'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/arel-6.0.2/lib/arel/visitors/reduce.rb:7:in `accept'
from /opt/rubies/ruby212-2.1.2-p205/lib/ruby/gems/2.1.0/gems/arel-6.0.2/lib/arel/tree_manager.rb:29:in `to_sql'
from DPA_check_urls.rb:52:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment