examples/notes/application.rb in elasticsearch-persistence-7.0.0.pre vs examples/notes/application.rb in elasticsearch-persistence-7.0.0
- old
+ new
@@ -33,10 +33,9 @@
def initialize(attributes={})
@attributes = Hashie::Mash.new(attributes)
__add_date
__extract_tags
__truncate_text
- self
end
def method_missing(method_name, *arguments, &block)
attributes.respond_to?(method_name) ? attributes.__send__(method_name, *arguments, &block) : super
end