1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
Raimonds Simanovskis 070c9984a5 Do not use SQL LIKE operator for case insensitive uniqueness validation
It can result in wrong results if values contain special % or _ characters. It is safer to use SQL LOWER function and compare for equality.
2011-04-25 22:17:18 +03:00
..
active_record/connection_adapters introduce a fake AR adapter for mocking database return values 2011-02-04 13:34:57 -08:00
assets
cases Do not use SQL LIKE operator for case insensitive uniqueness validation 2011-04-25 22:17:18 +03:00
connections use rake to create test databases for us 2011-01-14 14:07:16 -08:00
fixtures Merge branch 'master' into nested_has_many_through 2011-03-10 19:35:20 +00:00
migrations
models Added assign_attributes to Active Record which accepts a mass-assignment security scope using the :as option, while also allowing mass-assignment security to be bypassed using :with_protected 2011-04-24 09:53:18 +02:00
schema using the database adapter to typecast before executing prepared statement 2011-04-14 13:37:39 -07:00
config.rb