Interesting. Thanks!

On Thu, May 23, 2013 at 12:04 PM, Dan Thompson <notifications@github.com>
wrote:

>>    serialize :payload, JSON
>>    serialize :file_sources, JSON
>>  
>>    belongs_to :app
>>  
>> -  scope :latest, limit(50).order('id DESC')
>> +  scope :latest, -> { limit(50).order('id DESC') }
> Active Record in Rails 4.0 requires that scopes use a callable object such as a proc or lambda.
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/eric/pilfer-server/pull/4/files#r4367707