Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pass a symbol instead of a block. This is faster and more concise. | Semyon Perepelitsa | 2012-01-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least Ruby 1.8.7 is required which is ok since 3.2. Benchmark: ```ruby require "benchmark" enum = 1..10_000 N = 100 Benchmark.bm do |x| x.report "inject block" do N.times do enum.inject { |sum, n| sum + n } end end x.report "inject symbol" do N.times do enum.inject(:+) end end end ``` Result: ``` user system total real inject block 0.160000 0.000000 0.160000 ( 0.179723) inject symbol 0.090000 0.000000 0.090000 ( 0.095667) ``` | ||||
* | Add begin/ensure block since we are returning. | José Valim | 2012-01-14 | 1 | -3/+5 |
| | |||||
* | Fix race condition :bomb: | Jon Leighton | 2012-01-13 | 1 | -4/+11 |
| | |||||
* | Use a BodyProxy instead of including a Module that responds to close. | Santiago Pastorino | 2012-01-13 | 5 | -15/+49 |
| | | | | Closes #4441 if Active Record is disabled assets are delivered correctly | ||||
* | No AS::TestCase here. | José Valim | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | config.force_ssl should mark the session as secure. | José Valim | 2012-01-13 | 2 | -0/+33 |
| | |||||
* | Merge pull request #4451 from guilleiguaran/add-therubyracer-commented | José Valim | 2012-01-13 | 2 | -6/+16 |
| | |||||
* | Update Railties section of 3.2 release notes | Guillermo Iguaran | 2012-01-13 | 1 | -1/+3 |
| | |||||
* | warns against using temporary subscribers | Xavier Noria | 2012-01-12 | 1 | -0/+4 |
| | |||||
* | fix rails binary path when using --dev [ci skip] | Vijay Dev | 2012-01-13 | 2 | -2/+2 |
| | |||||
* | Added note about [ci skip] tag to contributing guide | Piotr Sarnacki | 2012-01-12 | 1 | -0/+2 |
| | |||||
* | add info about kindle guides in the release guide [ci skip] | Vijay Dev | 2012-01-13 | 1 | -0/+4 |
| | |||||
* | Fix table_name in ActiveRecord with more than one abstract ancestors | Piotr Sarnacki | 2012-01-12 | 2 | -3/+18 |
| | | | | | | | | | | | | | | | | | When subclassing abstract_class table_name should be always computed based on class name, no matter if superclass is subclassing base or another abstract_class. So: class FirstAbstract < ActiveRecord::Base self.abstract_class = true end class SecondAbstract < FirstAbstract self.abstract_class = true end class Post < SecondAbstract self.table_name #=> 'posts' (not 'second_abstracts') end | ||||
* | prepare for 3.2 guides release :) | Vijay Dev | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | remove hidden link in guides layout | Vijay Dev | 2012-01-13 | 1 | -1/+0 |
| | |||||
* | moving to arel 3.0.0 | Aaron Patterson | 2012-01-12 | 1 | -1/+1 |
| | |||||
* | depend on journey 1.0.0 | Aaron Patterson | 2012-01-12 | 1 | -1/+1 |
| | |||||
* | add 3.2 release notes to the guides index | Vijay Dev | 2012-01-13 | 1 | -0/+4 |
| | |||||
* | minor edits | Vijay Dev | 2012-01-13 | 2 | -2/+2 |
| | |||||
* | fixes in api docs | Vijay Dev | 2012-01-13 | 5 | -7/+7 |
| | |||||
* | minor revision in 3.2 release guide | Vijay Dev | 2012-01-13 | 1 | -1/+1 |
| | |||||
* | Add CHANGELOG entry | Santiago Pastorino | 2012-01-11 | 2 | -0/+5 |
| | |||||
* | on and ON are type casted to a true boolean column | Santiago Pastorino | 2012-01-11 | 2 | -2/+31 |
| | |||||
* | add some missing formats in the release guide | Vijay Dev | 2012-01-11 | 1 | -5/+5 |
| | |||||
* | Merge pull request #4412 from kennyj/fix_3743 | Santiago Pastorino | 2012-01-11 | 1 | -0/+2 |
| | | | | Fix GH #3743. We must specify an encoding in rdoc_option explicitly. | ||||
* | Some revisions to the release notes guide | Vijay Dev | 2012-01-11 | 1 | -13/+13 |
| | | | | | | Conflicts: railties/guides/source/3_2_release_notes.textile | ||||
* | add documentation explaining reorder behavior | Matt Jones | 2012-01-11 | 1 | -0/+10 |
| | |||||
* | Made an example a little more realistic | codesnik | 2012-01-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4408 from tomstuart/read-and-write-attribute-aliases | Santiago Pastorino | 2012-01-11 | 2 | -5/+46 |
| | | | | #[] and #[]= are no longer interchangeable with #read_attribute and #write_attribute | ||||
* | Merge pull request #4404 from rizwanreza/edits-to-spastorino-upgrade-notes | Santiago Pastorino | 2012-01-11 | 1 | -11/+8 |
|\ | | | | | Edits to spastorino's upgrade notes | ||||
| * | Edits to spastorino's additions in 3.2 Release Notes | Rizwan Reza | 2012-01-11 | 1 | -11/+8 |
|/ | |||||
* | FFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUU :bomb: | Aaron Patterson | 2012-01-10 | 1 | -3/+0 |
| | |||||
* | deprecate the subdirectories parameter to `migrations` | Aaron Patterson | 2012-01-10 | 1 | -2/+13 |
| | | | | | | Conflicts: activerecord/lib/active_record/migration.rb | ||||
* | Add "What to update in your apps" section to the release notes guide | Santiago Pastorino | 2012-01-10 | 1 | -0/+29 |
| | | | | | We should keep this up to date and the current version is probably wrong and/or incomplete. HELP!!! | ||||
* | Remove duplicated test line which was causing Ci failures on 1.8.7. | José Valim | 2012-01-10 | 1 | -1/+0 |
| | |||||
* | Remove dead code | Santiago Pastorino | 2012-01-10 | 1 | -4/+0 |
| | |||||
* | Add CHANGELOG entry | Santiago Pastorino | 2012-01-10 | 1 | -0/+2 |
| | |||||
* | Rails initialization with initialize_on_precompile = false should set assets_dir | Santiago Pastorino | 2012-01-10 | 2 | -1/+10 |
| | |||||
* | Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228) | Piotr Sarnacki | 2012-01-10 | 2 | -7/+51 |
| | |||||
* | Add original_fullpath and original_url methods to Request | Piotr Sarnacki | 2012-01-10 | 2 | -0/+32 |
| | |||||
* | Add ORIGINAL_FULLPATH to env | Piotr Sarnacki | 2012-01-10 | 3 | -1/+54 |
| | | | | | | | | | | | This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH | ||||
* | Merge pull request #4352 from kennyj/improve_3694-2 | José Valim | 2012-01-06 | 1 | -3/+3 |
|\ | | | | | [3-2-stable] Don't fork a process when assets:precompile:nondigest is invoked in assets:precompile:all. | ||||
| * | Don't fork a process when assets:precompile:nondigest is invoked in ↵ | kennyj | 2012-01-07 | 1 | -3/+3 |
|/ | | | | assets:precompile:all. Improve GH #3694. | ||||
* | Depend on coffee-rails 3.2.1 | Santiago Pastorino | 2012-01-05 | 1 | -1/+1 |
| | |||||
* | Merge pull request #4311 from kuroda/3-2-negative_format | Aaron Patterson | 2012-01-05 | 2 | -0/+8 |
|\ | | | | | Infer currency negative format from positive one. (3-2-stable) | ||||
| * | Infer currency negative format from positive one. | Tsutomu Kuroda | 2012-01-05 | 2 | -0/+8 |
|/ | | | | | | | | When a locale file sets the format of the positive currency value as '%n %u', the default negative currency format should be '-%n %u'. Cherry-picked from master (6724c8c8) | ||||
* | Bump to rc2 | Santiago Pastorino | 2012-01-04 | 9 | -9/+9 |
| | |||||
* | Revert "AS::Callbacks: remove __define_runner" | José Valim | 2012-01-04 | 1 | -3/+16 |
| | | | | | | Runners are used internally. This reverts commit 40c8aa706adbb60ff9d289016fb9020d48969fea. | ||||
* | Add release notes URL to vendor/plugins deprecation warning. Update CHANGELOG. | Jeremy Kemper | 2012-01-04 | 2 | -2/+2 |
| | |||||
* | Clarify vendor/plugins deprecation warning | Jeremy Kemper | 2012-01-04 | 1 | -1/+1 |
| |