You are here: Browse Railsplugins Pseudo Primary Key
Sets a pseudo primary key for the model.
class Tag < ActiveRecord::Base
set_pseudo_primary_key "name"
end
Copyright© 2007 Joshua Peek, released under the MIT license
Homepage: http://plugins.wh.joshpeek.com/browser/pseudo_primary_key