Reputation: 3842
I'm using the Garb gem to access Google Analytics data for my site. I've created the model that extends Garb::Model, but I can't find any information on Rails conventions for which directory should contain such a table-less model; is it just app/models/? or lib/? Is there a way I should mark this model to indicate that its table-less?
Upvotes: 0
Views: 82
Reputation: 3658
I'm sure it's too late now, but for future reference I've always just seen it put in app/models
. It's still a model! ActiveRecord goodness is just an implementation detail.
Upvotes: 0