lib/yaks/resource.rb in yaks-0.8.0.alpha vs lib/yaks/resource.rb in yaks-0.8.0.beta1
- old
+ new
@@ -18,10 +18,10 @@
def [](attr)
attributes[attr]
end
def find_form(name)
- forms.find { |form| form.name == name }
+ forms.find { |form| form.name.equal? name }
end
def seq
[self]
end