search for: end_time_id

Displaying 1 result from an estimated 1 matches for "end_time_id".

2010 Apr 20
13
why is ActiveRecord tying to select nonex ID column?
...ren. (Note that I''m invoking this at the console -- this is not a question about views or controllers.) So the schema and the model: ========== create_table "metered_usages", :id => false, :force => true do |t| t.integer "start_time_id" t.integer "end_time_id" t.integer "service_address_id" t.integer "metered_service_id" t.float "quantity" t.float "cost" end ========== class MeteredUsage < ActiveRecord::Base belongs_to :start_time, :class_name => ''TimeDimension''...