search for: referenced_column

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

2009 Feb 19
0
friendly_id / acts_as_referenced conflict?
Hi, I''m using acts_as_referenced to generate unique references: # property.rb class Property < ActiveRecord::Base acts_as_referenced :referenced_column => "permalink" end I would now like to use friendly_id to create seo friendly URLs instead of using the id. I now have: # property.rb class Property < ActiveRecord::Base acts_as_referenced :referenced_column => "permalink" has_friendly_id :permalink, :use_slug =&gt...