test/dummy/app/models/photo.rb in rails_dash-0.0.2 vs test/dummy/app/models/photo.rb in rails_dash-0.0.3

- old
+ new

@@ -1,6 +1,8 @@ class Photo < ActiveRecord::Base + scope :filter, lambda { |filter| where('', :filter => "%#{filter}%") } + attr_accessible :name class << self def list(page, filter)