lib/espresso/model.rb in espresso-0.0.6 vs lib/espresso/model.rb in espresso-0.0.7

- old
+ new

@@ -6,11 +6,10 @@ def self.included(model) model.extend ClassMethods model.class_eval do include InstanceMethods - attr_accessor :name_field - @name_field = :name + name_field(:name) end end module ClassMethods # Paginates search results