Skip to content

Instantly share code, notes, and snippets.

@parolkar
Created October 1, 2009 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parolkar/198876 to your computer and use it in GitHub Desktop.
Save parolkar/198876 to your computer and use it in GitHub Desktop.
$ git checkout 76a62f50f5831fe8be17ef6fa4e3e3e6d4dc3cbd (working old commit)
$ script/console
Loading development environment (Rails 2.3.2)
>> service_ads = ServiceAd.paginate :page => 1, :per_page => 6, :order=>'created_at DESC'
=> []
>> service_ads.class
=> WillPaginate::Collection
$ git checkout bae6edc759de3faf147f9f21a1e1ae6168c0ae49 (buggy current commit)
$ script/console
Loading development environment (Rails 2.3.2)
>> service_ads = ServiceAd.paginate :page => 1, :per_page => 6, :order=>'created_at DESC'
=> []
>> service_ads.class
=> ActiveRecord::NamedScope::Scope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment