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
4cdfe98d925397a613c9220bca65be5081c92f56
rails/activemodel/test
History
Prem Sichanugrist 8f97e9d19a Add validators reflection so you can do 'Person.validators' and 'Person.validators_on(:name)'.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-21 12:37:46 +01:00
..
cases
Add validators reflection so you can do 'Person.validators' and 'Person.validators_on(:name)'.
2010-02-21 12:37:46 +01:00
fixtures
Add test sqlite3 db to .gitignore
2009-03-20 11:22:27 +00:00
models
Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not.
2010-02-21 11:12:14 +01:00
validators
Add validates method as shortcut to setup validators for a given set of attributes:
2010-01-07 19:23:59 +01:00
config.rb
Make Active Model test suite similar to Active Record
2009-03-20 10:32:24 +00:00
schema.rb
Add ActiveModel::Validations tests for regular ruby classes
2009-03-20 22:21:27 +00:00
Powered by Gitea Version: 1.25.3 Page: 77ms 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