flajann
Not a member
flajann's latest activity
Monday, November 15 2010
5974
link_to() fails if underlying db record does not have an "id" field (Rails 3....
was updated
in Ruby on Rails
-
flajann commented at 12:38 PMThis is a non-issue. Please ignore this ticket.
The error was on my part doing
set_primary_key = 'a_id'
When it should've been
set_primary_key 'a_id'
I didn't n...
-
flajann created the ticket at 12:07 PMlink_to() fails with:
No route matches {:action=>"edit", :controller=>"agents", :id=>#}
Even though set_primary_key is defined:
class Agent < ActiveRecord::Base
...