flash-gordon on v1.3.3
flash-gordon on master
Bump version to 1.3.3 (compare)
flash-gordon on master
Update CHANGELOG (compare)
flash-gordon on master
Halt with mutable backtrace Ex… Merge pull request #116 from jo… (compare)
User.where("name = '#{ name }'")
where name is a string obtained from a request/form. Instead you always do it like this User.where('name = ?', name)
/Users/soumyaray/.rvm/gems/ruby-2.3.1/gems/dry-validation-0.10.3/lib/dry/validation/message_compiler.rb:13: warning: already initialized constant Dry::Validation::MessageCompiler::EMPTY_OPTS
/Users/soumyaray/.rvm/gems/ruby-2.3.1/gems/dry-core-0.2.1/lib/dry/core/constants.rb:52: warning: previous definition of EMPTY_OPTS was here
schema = Dry::Validation.Form do
required(:ids) { comma_separated_list? }
end
schema.call({ "ids" => "1,2,3" })["ids"] # => ["1", "2", "3"]
required(:ids, Types::MyCommaSeparatedList).filled(:array?)
::
to call method