Logo
Explore Help
Register Sign In
github/rails
1
1
Fork 0
You've already forked rails
mirror of https://github.com/github/rails.git synced 2026-04-26 03:00:59 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
802b08da0075bf6426c723957447ed85dc849bba
rails/activemodel/test/models
History
José Valim 7045c4c279 Allow validates to map some types to specific options. So now you can do:
validates :email, :presence => true, :format => /@/
  validates :genre, :inclusion => %w(m f)
  validates :password, :length => 6..20
2010-01-08 21:36:04 +01:00
..
contact.rb
Dasherize XML root by default to avoid invalid tags "<admin/posts>...</admin/posts>" [#2875 state:resolved]
2009-07-22 21:06:34 -05:00
custom_reader.rb
Add validates method as shortcut to setup validators for a given set of attributes:
2010-01-07 19:23:59 +01:00
developer.rb
Add ActiveModel::Validations tests for regular ruby classes
2009-03-20 22:21:27 +00:00
person_with_validator.rb
Add validates method as shortcut to setup validators for a given set of attributes:
2010-01-07 19:23:59 +01:00
person.rb
Allow validates to map some types to specific options. So now you can do:
2010-01-08 21:36:04 +01:00
reply.rb
Changed ActiveRecord to use new callbacks and speed up observers by only notifying events that are actually being consumed.
2009-09-08 10:26:39 -05:00
topic.rb
Move relevant validation tests from Active Record to Active Model
2009-03-20 15:07:49 +00:00
track_back.rb
Small clean up in Naming and TTranslation tests.
2009-12-23 12:28:02 +01:00
Powered by Gitea Version: 1.25.3 Page: 123ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API