Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No need to validate values when saving (now that we use `properties` …

…instead of `attributes`)
  • Loading branch information...
commit 5ccbe426f8c6fec5ccceea5ea63e68851370e48f 1 parent 41a422e
@serebryakov serebryakov authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/lib/adapters/rails.rb
View
2  lib/lib/adapters/rails.rb
@@ -138,7 +138,7 @@ def record_attributes(record)
def save_options
Hash[@query.to_a.map do |condition|
name = @replace[condition.name]
- [name, validate(condition.value)]
+ [name, condition.value]
end.reject do |name, value|
name.nil? or value.nil?
end]
Please sign in to comment.
Something went wrong with that request. Please try again.