Skip to content

Instantly share code, notes, and snippets.

@tors
Created September 11, 2010 03:40
Show Gist options
  • Save tors/574765 to your computer and use it in GitHub Desktop.
Save tors/574765 to your computer and use it in GitHub Desktop.
I created an Attachment class. This is a paperclip bug. Fix is to rename your Attachment class.
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/reflection.rb:187:in `quoted_table_name'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/associations/has_many_association.rb:92:in `construct_sql'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/associations/association_collection.rb:21:in `initialize'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/associations.rb:1306:in `new'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/associations.rb:1306:in `attachments'
/Users/Home/Sites/Rails/projectdc/app/controllers/attachments_controller.rb:16:in `index'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:1331:in `perform_action_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:617:in `call_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Library/Ruby/Gems/1.8/gems/activesupport-2.3.8/lib/active_support/core_ext/benchmark.rb:17:in `ms'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/flash.rb:151:in `perform_action'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `send'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:532:in `process_without_filters'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/filters.rb:606:in `process_without_compass'
/Library/Ruby/Gems/1.8/gems/compass-0.10.1/lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in `process'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:391:in `process'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:386:in `call'
/Library/Ruby/Gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:438:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment