mailr/vendor/plugins/will_paginate/spec/fixtures/admin.rb
2009-02-10 04:13:08 +10:00

4 lines
87 B
Ruby

class Admin < User
has_many :companies, :finder_sql => 'SELECT * FROM companies'
end