Displaying 1 result from an estimated 1 matches for "transcoder_queues".
Did you mean:
transcoder_queue
2007 Dec 18
2
Active Resource and non default model names
...gn_key =>
"campaign_id"
set_table_name "transcoder_queue" # overriding rails conventions
validates_presence_of :campaign_id, :on => :create
end
Now, when I try to use the active resource lib to interface my API, it
defaults to the rails pluralized name, ''transcoder_queues'' --
obviously this fails with 404. How can I set active resource to obey
the overridden table name I set.
Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to...