Displaying 1 result from an estimated 1 matches for "service_address_id".
2010 Apr 20
13
why is ActiveRecord tying to select nonex ID column?
...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'', :foreign_key
=> ''start_time_id&...