Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Winery < ActiveRecord::Base
- has_many :blogpost_associations
- has_many :wine_varieties_wineries
- has_many :wine_varieties, :through => :wine_varieties_wineries
- has_many :blogposts, :through => :blogpost_associations #, this doesn't work:order => "blogposts DESC"
Add Comment
Please, Sign In to add comment