lib/administrate/page/base.rb in administrate-0.12.0 vs lib/administrate/page/base.rb in administrate-0.13.0
- old
+ new
@@ -31,11 +31,9 @@
field.new(attribute_name, value, page, resource: resource)
end
def get_attribute_value(resource, attribute_name)
resource.public_send(attribute_name)
- rescue NameError
- nil
end
attr_reader :dashboard, :options
end
end