aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* change class to id per scaffold changeDan Pickett2012-01-161-7/+7
| | | | #4472
* Improve description of :allow_destroy option for nested attributes in ↵Carlos Antonio da Silva2012-01-161-7/+7
| | | | getting started guide
* Getting Started Guide: Update reference about JavaScript runtimesGuillermo Iguaran2012-01-161-1/+7
|
* Add ActiveModel::Errors#delete, which was not available after move to use ↵Piotr Sarnacki2012-01-162-0/+12
| | | | delegation
* Merge pull request #4474 from guilleiguaran/fix-route-inspector-3-2-stableJosé Valim2012-01-152-1/+16
|\ | | | | Don't hardcode assets route skipped in route inspector (3-2-stable)
| * Don't hardcode assets route skipped in route inspectorGuillermo Iguaran2012-01-152-1/+16
|/ | | | | | Conflicts: railties/lib/rails/application/route_inspector.rb
* Fix stack level too deep when model does not have attributes method.Piotr Sarnacki2012-01-152-1/+9
| | | | | | | | | | | Without that patch when using ActiveModel::AttributeMethods in a class that does not respond to `attributes` method, stack level too deep error will be raised on non existing method. While documentation is clear that you need to define `attributes` method in order to use AttributeMethods module, `stack level too deep` is rather obscure and hard to debug, therefore we should try to not break `method_missing` if someone forgets about defining `attributes`.
* Upgrade mail dependency to 2.4.0Mikel Lindsaar2012-01-151-1/+1
|
* Merge pull request #4471 from semaperepelitsa/enum_sumAaron Patterson2012-01-141-1/+1
|\ | | | | Pass a symbol instead of a block in Enumerable#sum
| * Pass a symbol instead of a block. This is faster and more concise.Semyon Perepelitsa2012-01-151-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é Valim2012-01-141-3/+5
|
* Fix race condition :bomb:Jon Leighton2012-01-131-4/+11
|
* Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-135-15/+49
| | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* No AS::TestCase here.José Valim2012-01-131-1/+1
|
* config.force_ssl should mark the session as secure.José Valim2012-01-132-0/+33
|
* Merge pull request #4451 from guilleiguaran/add-therubyracer-commentedJosé Valim2012-01-132-6/+16
|
* Update Railties section of 3.2 release notesGuillermo Iguaran2012-01-131-1/+3
|
* warns against using temporary subscribersXavier Noria2012-01-121-0/+4
|
* fix rails binary path when using --dev [ci skip]Vijay Dev2012-01-132-2/+2
|
* Added note about [ci skip] tag to contributing guidePiotr Sarnacki2012-01-121-0/+2
|
* add info about kindle guides in the release guide [ci skip]Vijay Dev2012-01-131-0/+4
|
* Fix table_name in ActiveRecord with more than one abstract ancestorsPiotr Sarnacki2012-01-122-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 Dev2012-01-131-1/+1
|
* remove hidden link in guides layoutVijay Dev2012-01-131-1/+0
|
* moving to arel 3.0.0Aaron Patterson2012-01-121-1/+1
|
* depend on journey 1.0.0Aaron Patterson2012-01-121-1/+1
|
* add 3.2 release notes to the guides indexVijay Dev2012-01-131-0/+4
|
* minor editsVijay Dev2012-01-132-2/+2
|
* fixes in api docsVijay Dev2012-01-135-7/+7
|
* minor revision in 3.2 release guideVijay Dev2012-01-131-1/+1
|
* Add CHANGELOG entrySantiago Pastorino2012-01-112-0/+5
|
* on and ON are type casted to a true boolean columnSantiago Pastorino2012-01-112-2/+31
|
* add some missing formats in the release guideVijay Dev2012-01-111-5/+5
|
* Merge pull request #4412 from kennyj/fix_3743Santiago Pastorino2012-01-111-0/+2
| | | | Fix GH #3743. We must specify an encoding in rdoc_option explicitly.
* Some revisions to the release notes guideVijay Dev2012-01-111-13/+13
| | | | | | Conflicts: railties/guides/source/3_2_release_notes.textile
* add documentation explaining reorder behaviorMatt Jones2012-01-111-0/+10
|
* Made an example a little more realisticcodesnik2012-01-111-1/+1
|
* Merge pull request #4408 from tomstuart/read-and-write-attribute-aliasesSantiago Pastorino2012-01-112-5/+46
| | | | #[] and #[]= are no longer interchangeable with #read_attribute and #write_attribute
* Merge pull request #4404 from rizwanreza/edits-to-spastorino-upgrade-notesSantiago Pastorino2012-01-111-11/+8
|\ | | | | Edits to spastorino's upgrade notes
| * Edits to spastorino's additions in 3.2 Release NotesRizwan Reza2012-01-111-11/+8
|/
* FFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUU :bomb:Aaron Patterson2012-01-101-3/+0
|
* deprecate the subdirectories parameter to `migrations`Aaron Patterson2012-01-101-2/+13
| | | | | | Conflicts: activerecord/lib/active_record/migration.rb
* Add "What to update in your apps" section to the release notes guideSantiago Pastorino2012-01-101-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é Valim2012-01-101-1/+0
|
* Remove dead codeSantiago Pastorino2012-01-101-4/+0
|
* Add CHANGELOG entrySantiago Pastorino2012-01-101-0/+2
|
* Rails initialization with initialize_on_precompile = false should set assets_dirSantiago Pastorino2012-01-102-1/+10
|
* Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228)Piotr Sarnacki2012-01-102-7/+51
|
* Add original_fullpath and original_url methods to RequestPiotr Sarnacki2012-01-102-0/+32
|
* Add ORIGINAL_FULLPATH to envPiotr Sarnacki2012-01-103-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