Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Merge pull request #4153 from ↵ | Jon Leighton | 2011-12-28 | 1 | -2/+2 | |
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | alexeymuranov/my_fix_for_prefix_suffix_fixtures_test Fix a fixtures test case with table prefix/suffix | |||||
| * | | | Use the correct table name from fixture | Alexey Muranov | 2011-12-28 | 1 | -2/+2 | |
| |/ / | | | | | | | | | | Fixed a bug in fixtures.rb where the table name was incorrectly inferred from the fixture path which was ambiguously called "table_name" but was also used as the fixture name. Now, the "correct" table name is taken from an instance variable. | |||||
* / / | Revert "This conditions is required to work with database create task. 1.9.2 ↵ | Arun Agrawal | 2011-12-27 | 1 | -2/+1 | |
|/ / | | | | | | | | | | | | | is having a bug with "Calling return within begin still executes else". " No need to worry about 1.9.2 with master This reverts commit fbf4bee6ed3682b361d6fbeca8e185e665e26b81. | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-12-25 | 1 | -3/+3 | |
|\ \ | ||||||
| * | | Clarify what persisted? returns. | Uģis Ozols | 2011-12-25 | 1 | -2/+2 | |
| | | | ||||||
| * | | Remove extra 'be'. | Uģis Ozols | 2011-12-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 2 | -47/+43 | |
| | | | ||||||
* | | | Intercept sends in Model::DeprecationProxy | Jon Leighton | 2011-12-24 | 1 | -0/+2 | |
| | | | ||||||
* | | | deprecate String#encoding_aware? and remove its usage | Sergey Nartimov | 2011-12-24 | 1 | -17/+9 | |
| | | | ||||||
* | | | Fix position of load hook so that Base has been defined and included Model ↵ | Jon Leighton | 2011-12-24 | 2 | -3/+6 | |
| | | | | | | | | | | | | before it runs | |||||
* | | | Add some doc for ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -0/+7 | |
| | | | ||||||
* | | | Add deprecation for the change to the active_record load hook | Jon Leighton | 2011-12-24 | 1 | -1/+24 | |
| | | | ||||||
* | | | Support nested AR::Models | Jon Leighton | 2011-12-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | auto_explain_threshold_in_seconds should be a global config option so it can ↵ | Jon Leighton | 2011-12-24 | 1 | -8/+3 | |
| | | | | | | | | | | | | be shared between AR::Base and AR::Model | |||||
* | | | Don't include anything else if AR::Model has already been included | Jon Leighton | 2011-12-24 | 1 | -0/+2 | |
| | | | ||||||
* | | | Make PredicateBuilder recognise AR::Model | Jon Leighton | 2011-12-24 | 1 | -2/+2 | |
| | | | ||||||
* | | | Ensure attribute methods are included after all the AR stuff | Jon Leighton | 2011-12-24 | 2 | -2/+2 | |
| | | | ||||||
* | | | Fix #exists? for AR::Model | Jon Leighton | 2011-12-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | Make generated_feature_methods work with ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -4/+9 | |
| | | | ||||||
* | | | Fixtures support for ActiveRecord::Model | Jon Leighton | 2011-12-24 | 1 | -1/+1 | |
| | | | ||||||
* | | | Deal with global config better between AR::Base and AR::Model | Jon Leighton | 2011-12-24 | 9 | -83/+111 | |
| | | | ||||||
* | | | Extract common logic into a method | Jon Leighton | 2011-12-24 | 5 | -28/+30 | |
| | | | ||||||
* | | | I herd you like modules. | Jon Leighton | 2011-12-24 | 11 | -70/+99 | |
| | | | ||||||
* | | | Start work towards making AR include-able. | Jon Leighton | 2011-12-24 | 4 | -369/+390 | |
| | | | ||||||
* | | | Tidy up migration types. | José Valim | 2011-12-24 | 4 | -11/+10 | |
| | | | ||||||
* | | | added ability to specify from cli when generating a model/migration whether ↵ | Dmitrii Samoilov | 2011-12-24 | 4 | -7/+16 | |
| | | | | | | | | | | | | particular property should be an index like this 'rails g model person name:string:index profile:string' | |||||
* | | | Merge pull request #4149 from castlerock/remove_1.8_stuff | José Valim | 2011-12-24 | 1 | -7/+0 | |
|\ \ \ | | | | | | | | | remove ruby 1.8 stuff method skip to support ruby 1.8 series | |||||
| * | | | remove ruby 1.8 stuff skip hack from AR | Vishnu Atrai | 2011-12-23 | 1 | -7/+0 | |
| | | | | ||||||
* | | | | Fix situation where id method didn't get defined causing postgres to fail | Jon Leighton | 2011-12-23 | 1 | -4/+3 | |
| |/ / |/| | | ||||||
* | | | Doh, remove debugging line | Jon Leighton | 2011-12-23 | 1 | -1/+0 | |
| | | | ||||||
* | | | Fix #4046. | Jon Leighton | 2011-12-23 | 2 | -46/+36 | |
|/ / | ||||||
* | | Reconnect to the first database after db:create | Tsutomu Kuroda | 2011-12-23 | 1 | -0/+1 | |
| | | | | | | | | | | Otherwise, the schema and seed will be loaded onto the test database. | |||||
* | | Fix build when IM=true | Jon Leighton | 2011-12-22 | 1 | -4/+3 | |
| | | ||||||
* | | Delete unnecessary line that was necessary before I changed the code and it ↵ | Jon Leighton | 2011-12-22 | 1 | -1/+0 | |
| | | | | | | | | became no longer necessary. | |||||
* | | removes some unnecessary selfs | Xavier Noria | 2011-12-20 | 1 | -3/+3 | |
| | | ||||||
* | | Remove 1.8 backport | Jon Leighton | 2011-12-22 | 1 | -9/+0 | |
| | | ||||||
* | | Make ActiveRecord::Relation#pluck work with serialized attributes | Jon Leighton | 2011-12-22 | 1 | -4/+4 | |
| | | ||||||
* | | Make read_attribute code path accessible at the class level | Jon Leighton | 2011-12-22 | 5 | -56/+48 | |
| | | ||||||
* | | DeprecatedUnderscoreRead does not exist anymore | Aaron Patterson | 2011-12-21 | 1 | -1/+0 | |
| | | ||||||
* | | Merge pull request #4122 from qoobaa/mass_assignment_with_associated_object | José Valim | 2011-12-21 | 1 | -6/+1 | |
|\ \ | | | | | | | added failing tests for has_many, has_one and belongs_to associations wi... | |||||
| * | | added failing tests for has_many, has_one and belongs_to associations with ↵ | Jakub Kuźma | 2011-12-21 | 1 | -6/+1 | |
| | | | | | | | | | | | | strict mass assignment sanitizer, fixed build_record to not merge creation_attributes, removed failing nested attributes tests (that feature was broken anyway) #4051 | |||||
* | | | remove deprecated set and original methods for table_name, primary_key, etc | Sergey Nartimov | 2011-12-21 | 3 | -73/+1 | |
| | | | ||||||
* | | | remove deprecated underscore versions of attribute methods | Sergey Nartimov | 2011-12-21 | 2 | -33/+0 | |
| | | | ||||||
* | | | removing deprecated methods | Aaron Patterson | 2011-12-21 | 1 | -28/+0 | |
|/ / | ||||||
* | | 'with_kcode' removed. | Arun Agrawal | 2011-12-21 | 1 | -13/+0 | |
| | | | | | | | | Testing Sandbox removed. | |||||
* | | do not compile regexp on every call | Aaron Patterson | 2011-12-20 | 1 | -16/+14 | |
| | | ||||||
* | | hstores can cycle | Aaron Patterson | 2011-12-20 | 1 | -4/+31 | |
| | | ||||||
* | | can create hstore records via AR API | Aaron Patterson | 2011-12-20 | 1 | -5/+9 | |
| | | ||||||
* | | multiple key / values work | Aaron Patterson | 2011-12-20 | 1 | -1/+4 | |
| | | ||||||
* | | PostgreSQL hstore types are automatically deserialized from the database. | Aaron Patterson | 2011-12-20 | 2 | -0/+6 | |
| | |