aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Changing const_regexp to check for constant name.Arun Agrawal2013-06-151-0/+3
| | | | We need to return Regexp.escape(camel_cased_word) if the split is blank.
* Merge pull request #10943 from killthekitten/10932_constantize_emptyXavier Noria2013-06-142-5/+10
|\ | | | | Fix #10932. Treat "" and "::" as invalid on constantize
| * Fix #10932. Treat "" and "::" as invalid on constantizeNikolay Shebanov2013-06-142-5/+10
| |
* | Merge pull request #10833 from hone/remove_initialize_on_precompileGuillermo Iguaran2013-06-134-35/+1
|\ \ | | | | | | `initialize_on_precompile` is not used anymore.
| * | `initialize_on_precompile` is not used anymore.Terence Lee2013-06-134-35/+1
|/ /
* | quoted table name is also cachedAaron Patterson2013-06-131-1/+1
| |
* | table name is cached on the class, so stop caching twiceAaron Patterson2013-06-131-1/+1
| |
* | calculate types on constructionAaron Patterson2013-06-131-8/+4
| |
* | only cache the primary key column in one placeAaron Patterson2013-06-131-1/+1
| |
* | these methods are never called, so remove themAaron Patterson2013-06-131-8/+0
| |
* | This test does not test anything that happens in the real world. If youAaron Patterson2013-06-132-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recreate the models without mucking with internal caches of the relation objects, then the test fails. For example: class Man < ActiveRecord::Base has_many :interests end class Interest < ActiveRecord::Base belongs_to :man end Then do this test: def test_validate_presence_of_parent_fails_without_inverse_of repair_validations(Interest) do Interest.validates_presence_of(:man) assert_no_difference ['Man.count', 'Interest.count'] do man = Man.create(:name => 'John', :interests_attributes => [{:topic=>'Cars'}, {:topic=>'Sports'}]) assert_not_predicate man.errors[:"interests.man"], :empty? end end end The test will fail. This is a bad test, so I am removing it.
* | Don't set X-UA-Compatible header by defaultGuillermo Iguaran2013-06-132-5/+2
| | | | | | | | | | | | We are setting this header to chrome=1 for Chrome Frame and this will be retired soon. Check http://blog.chromium.org/2013/06/retiring-chrome-frame.html for details
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-06-1458-169/+332
|\ \ | | | | | | | | | | | | Conflicts: guides/source/upgrading_ruby_on_rails.md
| * | copy editing AS guide [ci skip]Vijay Dev2013-06-141-19/+4
| | |
| * | copy edits [ci skip]Vijay Dev2013-06-144-34/+27
| | |
| * | Revert "Add detailed steps on how to squash multiple commits into a single ↵Vijay Dev2013-06-141-25/+0
| | | | | | | | | | | | | | | | | | detailed commit" This reverts commit 6df9c595ad8e473d15a81a9291e891476bc833c2.
| * | Revert "Whitespace trimming in guides generation"Vijay Dev2013-06-144-13/+13
| | | | | | | | | | | | | | | | | | | | | This reverts commit 91a1cf7013252753567b36f61bfcd5fd0a5bb2b8. Reason: code changes disallowed in docrails, even if they are guides generation related.
| * | Using 1.9 syntax for edge guidesRashmi Yadav2013-06-121-2/+2
| | |
| * | minor doc changes to `ActiveSupport::BacktraceCleaner`.Yves Senn2013-06-121-5/+5
| | |
| * | Image optimized for web viewRashmi Yadav2013-06-0923-0/+0
| | | | | | | | | | | | Used imageoptim, Saved few bytes http://imageoptim.com/
| * | Merge branch 'master' of github.com:rails/docrailsJeff Cohen2013-06-081-1/+48
| |\ \
| | * | doc: renaming table name to follow the file's standardsThiago Pinto2013-06-081-2/+2
| | | |
| | * | instructions for variations and alternatives for ActiveRecord#findThiago Pinto2013-06-081-1/+35
| | | |
| | * | Merge branch 'master' of github.com:rails/docrailsThiago Pinto2013-06-081-0/+6
| | |\ \
| | * | | explaining ActiveRecord#first in rails 3 and 4Thiago Pinto2013-06-081-0/+13
| | | | |
| * | | | Describe ActiveSupport core extensions for BigDecimal, JSON support, and ↵Jeff Cohen2013-06-081-1/+65
| | |/ / | |/| | | | | | | | | | instance variable names.
| * | | Middleware in guide updated [ci skip]Rashmi Yadav2013-06-081-0/+6
| |/ /
| * | Merge branch 'master' of github.com:lifo/docrailsThiago Pinto2013-06-072-2/+26
| |\ \
| | * | Added bang method versions to association basics guideMatthew Hensrud2013-06-071-1/+25
| | | |
| | * | Merge pull request #139 from rajcybage/masterVijay Dev2013-06-071-1/+1
| | |\ \ | | | | | | | | | | Spelling mistake on the previous commit it should be standard not "standar"
| | | * | correction standr => standard of commits @0435d0eRajarshi Das2013-06-061-1/+1
| | |/ /
| * | | lists the options for find_each and find_in_batchesThiago Pinto2013-06-071-17/+37
| | | |
| * | | using Model.all.find_each in rails 3 raises an error and should not be ↵Thiago Pinto2013-06-071-2/+2
| |/ / | | | | | | | | | recommended
| * | Merge remote-tracking branch 'upstream/master'Brian Fontenot2013-06-011-3/+3
| |\ \ | | | | | | | | | | | | his merge is necessary,
| | * | reword for grammar and clarityGraham Madden2013-05-311-3/+3
| | | |
| * | | Add detailed steps on how to squash multiple commits into a single detailed ↵Brian Fontenot2013-06-011-0/+25
| |/ / | | | | | | | | | commit
| * | add cache_if and cache_unless on caching docAngelo capilleri2013-05-311-0/+9
| | |
| * | Revert "change additional 'RESTful' routes to 'resourceful' routes as the ↵RSL2013-05-301-1/+1
| | | | | | | | | | | | | | | | | | additional actions may potentially get you farther away from RESTfulness" This reverts commit 382419d28fe8c43b88e39b83ac175973a36feca8.
| * | change additional 'RESTful' routes to 'resourceful' routes as the additional ↵RSL2013-05-301-1/+1
| | | | | | | | | | | | actions may potentially get you farther away from RESTfulness
| * | correct no-replay@example.com to no-reply@example.comKyle Fritz2013-05-291-1/+1
| | |
| * | Whitespace trimming in guides generationSunny Ripert2013-05-284-13/+13
| | |
| * | Consistent one-spaced bullets in guides release notesSunny Ripert2013-05-282-30/+29
| | |
| * | Remove references to deprecated test tasksSunny Ripert2013-05-281-7/+0
| | |
| * | Remove double spaces in guidesSunny Ripert2013-05-288-14/+14
| | |
| * | Remove double spaces in code examplesSunny Ripert2013-05-287-12/+12
| | |
| * | Consistent use of one space only after punctuationSunny Ripert2013-05-2810-18/+18
| | |
| * | End-of-line whitespace huntSunny Ripert2013-05-287-27/+27
| | |
| * | Fixed quotes in environment example in Rails Application Templates guide.Dan Erikson2013-05-271-1/+1
| | |
| * | minor comments cleanupNeeraj Singh2013-05-271-3/+4
| | |
| * | removes forgotten avatarJaime Iniesta2013-05-271-0/+0
| | |