aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Test to_model being called in ActiveModel::Naming helpersErnie Miller2010-10-042-0/+11
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Convert to model before calling model_name on a record in ActiveModel::NamingErnie Miller2010-10-041-1/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* calling correct method on minitest for test name when teardown callback failsAaron Patterson2010-10-041-0/+19
|
* [#5406 state:resolved] calling the correct method on minitest to obtain the ↵Aaron Patterson2010-10-041-0/+38
| | | | test name
* Link to rack from github for this while.José Valim2010-10-041-0/+3
|
* Ensure the proper content type is returned for static files.José Valim2010-10-042-23/+30
|
* Update to Thor 0.14.3.José Valim2010-10-041-1/+1
|
* Initialize sid should just skip instance variables.José Valim2010-10-041-0/+7
|
* converting inject([]) to mapAaron Patterson2010-10-031-4/+3
|
* speed up duplicate migration detectionAaron Patterson2010-10-031-6/+5
|
* reduce the number of calls to camelizeAaron Patterson2010-10-031-3/+4
|
* convertion MigrationProxy to a Struct, initialize instance variablesAaron Patterson2010-10-031-7/+6
|
* dry up some migration logicAaron Patterson2010-10-031-2/+4
|
* no need to differentiate between nil and false in this caseAaron Patterson2010-10-031-2/+2
|
* two argument String#slice is faster than single argument, also avoid ↵Aaron Patterson2010-10-031-1/+1
| | | | creating a Range object
* lengths will be nil or an arrayAaron Patterson2010-10-031-2/+2
|
* remove a few function callsAaron Patterson2010-10-031-3/+5
|
* be kind to the garbage collector and reuse our visitor objectAaron Patterson2010-10-031-1/+4
|
* avoid creating objects when we canAaron Patterson2010-10-033-14/+7
|
* moving fake model to the correct fileAaron Patterson2010-10-032-13/+14
|
* Add documentation on app_generatorsPiotr Sarnacki2010-10-031-0/+20
|
* Merge branch 'racksession'José Valim2010-10-0317-563/+143
|\
| * Solve some warnings and a failing test.José Valim2010-10-032-1/+2
| |
| * Move ETag and ConditionalGet logic from AD::Response to the middleware stack.José Valim2010-10-037-216/+51
| |
| * Rely on Rack::Session stores API for more compatibility across the Ruby world.José Valim2010-10-039-346/+90
|/
* PERF: more Hash + map changesSantiago Pastorino2010-10-031-3/+3
|
* PERF: more changes from inject({}) to Hash + mapSantiago Pastorino2010-10-031-1/+1
|
* PERF: Don't create unnecessary objectsSantiago Pastorino2010-10-031-1/+1
|
* PERF: change inject({}) with Hash + mapSantiago Pastorino2010-10-031-1/+1
|
* PERF: Hash[] + map is faster than this silly inject, and var[1..-1] is ↵Santiago Pastorino2010-10-031-3/+3
| | | | faster than var.sub('@', '')
* Rename _assigns to view_assigns in AV::TCDavid Chelimsky2010-10-032-9/+52
| | | | | | | | | - also add tests - also deprecate _assigns [#5751 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Be more explicit about what is deprecated.José Valim2010-10-021-1/+1
|
* Deprecate generators in Railties. You should use app_generators instead.José Valim2010-10-023-30/+32
|
* :'' is not valid ruby.José Valim2010-10-021-1/+1
|
* added test for form_for with search_fieldAditya Sanghi2010-10-021-0/+15
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fixing search_field to remove object attribute from options hash [#5730 ↵Aditya Sanghi2010-10-021-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* reload_routes! is part of the public API and should not be removed.José Valim2010-10-023-3/+16
|
* Fix a routing test. Reorganize middleware tests.José Valim2010-10-027-151/+180
|
* Refactor AssociationCollection#include? with objects in memoryCarlos Antonio da Silva2010-10-021-4/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Revert "Perf: refactor _assign method to avoid inject and defining unneeded ↵José Valim2010-10-021-1/+5
| | | | | | | | local var." _assigns must return a hash. This reverts commit e66c1cee86aba1c81152f3d0872313e65cec85a9.
* removing more duplicate code. :'(Aaron Patterson2010-10-011-13/+1
|
* fixing warnings with regexps on assert_matchAaron Patterson2010-10-011-2/+2
|
* removing more duplicate codeAaron Patterson2010-10-013-30/+17
|
* delete repeated codeAaron Patterson2010-10-013-36/+18
|
* remove another lolinjectAaron Patterson2010-10-011-1/+1
|
* use a method that actually existsAaron Patterson2010-10-011-1/+1
|
* speed up index_by by removing a lolinjectAaron Patterson2010-10-011-4/+1
|
* removing AS::Testing::Default in favor of just undefing default_testAaron Patterson2010-10-014-20/+2
|
* brings csrf_meta_tags back to the generated layoutXavier Noria2010-10-022-2/+2
| | | | | | | | | | After more discussion, it has be agreed that this kind of changes within reasonable margins are OK for 3.1. That is, it is fine to change a little bit the generators even if that means examples in existing books won't be exact. (Note that the singular csrf_meta_tag exists as an alias and thus those outdated examples will run, same for existing applications.)
* Arel::Sql::Engine.new does not do anything anymoreAaron Patterson2010-09-302-2/+2
|