Fixed eager loading of packages/screenshots
This commit is contained in:
parent
93177ab578
commit
a5b31a2dcc
3 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
class Screenshot < ActiveRecord::Base
|
||||
belongs_to :package, :inverse_of=>:screenshots
|
||||
|
||||
default_scope {
|
||||
order('uploaddatetime DESC')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue