aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Move conditionals to separate tasks so they can be reused.Aaron Patterson2011-11-161-7/+11
* `ActiveRecord::Base#becomes` should retain the errors of the original object.James Adam2011-11-161-0/+1
* removing some useless conditionalsAaron Patterson2011-11-161-10/+8
* Merge pull request #2948 from atambo/masterAaron Patterson2011-11-161-38/+66
|\
| * schema_format :sql should behave like schema_format :rubyAlex Tambellini2011-11-041-38/+66
* | Fixes issue #3483, regarding using a mixture of ranges and discrete values in...Ryan Naughton2011-11-141-6/+8
* | Speed up attribute invocation by checking if both name and calls are compilable.José Valim2011-11-142-2/+2
* | Fix pull request #3609Noé Froidevaux2011-11-131-1/+1
* | Prevent multiple SHOW TABLES calls when a table don't exists in database.Noé Froidevaux2011-11-111-3/+3
* | Modify change_table to remove the need for the block argument.Vijay Dev2011-11-111-7/+12
* | Checking the arity of the block passed to create_tableVijay Dev2011-11-101-1/+7
* | exclude ORDER BY clause when querying Relation#exists?Akira Matsuda2011-11-091-1/+1
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-11-083-7/+6
|\ \
| * | document fix: remove_column takes multiple column_namesAkira Matsuda2011-11-071-2/+2
| * | self.up, self.down => up, downAkira Matsuda2011-11-072-5/+4
* | | adds trailing +s to the output of EXPLAIN for MySQLXavier Noria2011-11-071-3/+2
* | | Merge pull request #3521 from nulogy/fix_postgres_adapter_to_handle_spaces_be...Aaron Patterson2011-11-061-2/+1
|/ /
* | Update ActiveRecord#attribute_present? to work as documentedJustin Mazzi2011-11-051-1/+2
* | implements AR::Relation#explainXavier Noria2011-11-054-1/+153
* | Merge pull request #3525 from kennyj/fix_3440-1Jon Leighton2011-11-051-2/+11
|\ \
| * | Fixed an issue id false option is ignored on mysql/mysql2 (fix #3440)kennyj2011-11-061-2/+11
| |/
* | Use uniq instead of manually putting a DISTINCT in the queryJon Leighton2011-11-051-14/+2
* | Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL queryJon Leighton2011-11-053-8/+28
* | AR changes to support creating ordered (asc, desc) indexesVlad Jebelev2011-11-048-16/+85
|/
* Allow the :class_name option for associations to take a symbol.Jon Leighton2011-11-041-1/+1
* Merge pull request #1163 from amatsuda/sexier_migration_31Aaron Patterson2011-11-043-13/+16
|\
| * No "t." for the migration DSL!Akira Matsuda2011-05-203-13/+16
* | Merge pull request #3507 from jmazzi/issue-3503Jeremy Kemper2011-11-031-2/+6
* | Fix #3271.Jon Leighton2011-11-031-1/+1
* | Memoize through associationJon Leighton2011-11-031-8/+11
* | Remove all revelant through records.Jon Leighton2011-11-031-9/+9
* | Fix adding multiple instances of the same record to a has_many :through.Jon Leighton2011-11-031-21/+43
* | Fix #3247.Jon Leighton2011-11-031-1/+1
* | dump_schema_information: explicitly order inserts into schema_migrations tableLaust Rud Jacobsen2011-10-311-1/+1
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-301-0/+3
|\ \
| * | Added a note that optimistic locking also needs a hidden field to function ac...Joost Baaij2011-10-251-0/+3
* | | clear statement cache when tables are alteredAaron Patterson2011-10-271-0/+6
* | | Allow instances to disable record_timestampsPratik Naik2011-10-261-1/+1
* | | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2011-10-2511-40/+98
|\ \ \
| * | | safeguard against configs missing environment or the database keyVijay Dev2011-10-261-1/+1
| * | | minor revision to some new code in databases.rakeXavier Noria2011-10-241-2/+3
| * | | Merge pull request #2419 from dmitriy-kiriyenko/drop_test_database_in_develop...Xavier Noria2011-10-241-11/+15
| |\ \ \ | | |/ / | |/| |
| | * | When running "rake db:drop" also drop test database in development environment.Dmitriy Kiriyenko2011-09-291-11/+15
| * | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-231-5/+5
| |\ \ \
| | * | | Add some note on adding index to HABTM tablePrem Sichanugrist2011-10-201-0/+4
| | * | | Use new migration style in HABTM join tablePrem Sichanugrist2011-10-201-5/+1
| * | | | minor fixes in the composed_of docVijay Dev2011-10-221-3/+4
| * | | | preserve decimal column attributes after migrationGreg Reinacker2011-10-211-0/+3
| |/ / /
| * | | Merge pull request #3258 from ileitch/3-1-stableAaron Patterson2011-10-201-1/+7
| * | | reset prepared statement when schema changes imapact statement results. fixes...Aaron Patterson2011-10-181-11/+43