lib/venue.rb in ish_models-0.0.33.118 vs lib/venue.rb in ish_models-0.0.33.119
- old
+ new
@@ -41,9 +41,11 @@
has_many :photos
embeds_many :newsitems
embeds_many :features
+ PER_PAGE = 6
+
def self.list conditions = { :is_trash => false }
out = self.where( conditions).order_by( :name => :asc )
[['', nil]] + out.map { |item| [ item.name, item.id ] }
end