Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename the enum_{prefix,suffix} options to _{prefix,suffix} | Robin Dupret | 2015-07-23 | 1 | -4/+4 |
| | | | | | | This makes it more clear that they are reserved keywords and also it seems less redundant as the line already starts with the call to the `enum` method. | ||||
* | Add enum prefix/suffix option to enum definition | Igor Kapkov | 2015-06-12 | 1 | -0/+4 |
| | | | | Fixes #17511 and #17415 | ||||
* | Add more tests for the dirty feature for enums | Rafael Mendonça França | 2014-01-21 | 1 | -0/+1 |
| | |||||
* | define enum methods inside a `Module` to make them overwritable. | Yves Senn | 2013-11-05 | 1 | -0/+5 |
| | |||||
* | Explicit mapping for enum | Yury Korolev | 2013-11-02 | 1 | -0/+1 |
| | |||||
* | Fix to work on Ruby 1.9.3, example and changelog improvements | Carlos Antonio da Silva | 2013-11-02 | 1 | -2/+2 |
| | |||||
* | Added ActiveRecord::Base#enum for declaring enum attributes where the values ↵ | David Heinemeier Hansson | 2013-11-02 | 1 | -2/+4 |
| | | | | map to integers in the database, but can be queried by name | ||||
* | rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works. | Yves Senn | 2013-03-15 | 1 | -1/+1 |
| | | | | | | | | The similarity of `Relation#uniq` to `Array#uniq` is confusing. Since our Relation API is close to SQL terms I renamed `#uniq` to `#distinct`. There is no deprecation. `#uniq` and `#uniq!` are aliases and will continue to work. I also updated the documentation to promote the use of `#distinct`. | ||||
* | Convert association macros to the new syntax | Jon Leighton | 2012-07-20 | 1 | -1/+1 |
| | |||||
* | Initial nested_has_many_through support [#1152] | Bodaniel Jeanes | 2010-09-26 | 1 | -0/+2 |
| | |||||
* | test and fix collection_singular_ids= with string primary keys [#5125 ↵ | Robert Pankowecki | 2010-08-02 | 1 | -0/+3 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | move assets and models | Jeremy Kemper | 2008-01-18 | 1 | -0/+4 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |