aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor inject use in hash conversions.Emilio Tagua2010-09-221-8/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Perf: speed up 2 methods in railties.Emilio Tagua2010-09-222-5/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Perf: refactor methods using inject when not need in activemodel.Emilio Tagua2010-09-223-14/+6
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* No need to use inject here.Emilio Tagua2010-09-221-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Refactor routing methods.Emilio Tagua2010-09-222-11/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Refactor decode_credentials to avoid inject and use map instead.Emilio Tagua2010-09-222-7/+6
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Perf: refactor _assign method to avoid inject and defining unneeded local var.Emilio Tagua2010-09-221-5/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Refactor methods in html node to avoid injects.Emilio Tagua2010-09-221-8/+4
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Refactor association_collection uniq method.Emilio Tagua2010-09-221-4/+3
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* No need to use inject here.Emilio Tagua2010-09-221-5/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Perf: refactor method.Emilio Tagua2010-09-221-11/+8
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* No need to use inject here, use map instead.Emilio Tagua2010-09-221-4/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Goodbye inject, hello map.Emilio Tagua2010-09-221-7/+5
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Use map instead inject.Emilio Tagua2010-09-221-4/+3
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Missing the mysql2 gem hereSantiago Pastorino2010-09-221-1/+1
|
* Error message should advice to use 'mysql2' gem.Neeraj Singh2010-09-221-2/+2
| | | | | | | | | | | | | If I create a new app using command rails new demo -d mysql then Gemfile contains 'mysql2' gem by default. However if mysql gem is missing then error message says raise "!!! Missing the mysql gem. Add it to your Gemfile: gem 'mysql', '2.8.1'" [#5569 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* avoid a proc objectAaron Patterson2010-09-221-1/+1
|
* avoid creating a range objectAaron Patterson2010-09-221-1/+1
|
* form_for with file_field docs fixedSantiago Pastorino2010-09-221-2/+2
|
* drying up construct_associationAaron Patterson2010-09-211-15/+15
|
* dry up some conditionalsAaron Patterson2010-09-211-3/+4
|
* fixing case / when indentationAaron Patterson2010-09-211-19/+19
|
* fix case / when indentationAaron Patterson2010-09-211-18/+18
|
* avoid a hash lookupAaron Patterson2010-09-211-2/+2
|
* remove more codesAaron Patterson2010-09-211-6/+4
|
* deleting more codeAaron Patterson2010-09-211-4/+1
|
* use each properly to avoid splatting a variableAaron Patterson2010-09-211-2/+1
|
* deleting repeated codesAaron Patterson2010-09-211-13/+10
|
* do not pass nil values to arelAaron Patterson2010-09-211-1/+1
|
* refacoring duplicate code. <3 <3 <3Aaron Patterson2010-09-211-2/+3
|
* this reject can be replaced with compactAaron Patterson2010-09-211-1/+1
|
* removing unused codeAaron Patterson2010-09-211-2/+1
|
* remove some repeated codeAaron Patterson2010-09-211-2/+2
|
* break up giant methodAaron Patterson2010-09-211-62/+72
|
* api guidelines: adds Test::Unit and RSpec as examples of correct spelling, ↵Xavier Noria2010-09-211-1/+3
| | | | also advice when in doubt
* removing lolinjectAaron Patterson2010-09-211-1/+1
|
* fixing tests. wooAaron Patterson2010-09-211-4/+7
|
* remove join table rows before removing owner row for habtm associations, ↵Hemant Kumar2010-09-212-2/+2
| | | | fixes#5674
* providing arel with column information when possible [#5392 state:resolved]Aaron Patterson2010-09-213-3/+29
|
* un-nodocs AR::BatchesXavier Noria2010-09-211-1/+1
|
* Remove helper methods that were moved to helper.rbEmilio Tagua2010-09-211-15/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Move helper methods to helper.rb. Make test not depend on local TZ to pass ↵Emilio Tagua2010-09-212-9/+27
| | | | | | or fail. Signed-off-by: José Valim <jose.valim@gmail.com>
* List all of isolated engine changesPiotr Sarnacki2010-09-201-3/+21
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* use instance_eval, reduce method calls.Stevie Graham2010-09-211-15/+7
| | | | | | | | | | | | | | | | execution time in seconds for `rake test_sqlite3`: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0] - before: 52.771426, 52.159505, 52.937056 - after: 51.452584, 51.897017, 51.584431 rubinius 1.0.1 (1.8.7 release 2010-06-03 JI) [x86_64-apple-darwin10.4.0] - before: 284.334076 - after: 285.753028 ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] - before: 75.811548, 75.533153, 75.353122 - after: 75.244243, 75.19226, 75.256925
* Strengthen documantation on engine's migrations and seed dataPiotr Sarnacki2010-09-201-0/+15
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add helper for loading seed data for engine and applicationPiotr Sarnacki2010-09-204-2/+30
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* file_field propagates up multipart property even inside of fields_forSantiago Pastorino2010-09-202-8/+34
|
* Updating error message on ruby_version_check.rbThiago Pradi2010-09-191-2/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Send 'rails runner' help message to stdout instead of stderr.rohit2010-09-192-3/+2
| | | | | | [#5661 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* application.js should be the last file on javascript_include_tag(:all)Santiago Pastorino2010-09-192-9/+9
|