aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * find_or_initialize_by is deprecated in AR 4Akira Matsuda2013-01-021-7/+0
| |
| * find_or_create_by is deprecated in AR 4Akira Matsuda2013-01-024-35/+10
| |
| * find_last_by is deprecated in AR 4Akira Matsuda2013-01-022-6/+3
| |
| * find_all_by is deprecated in AR 4Akira Matsuda2013-01-023-9/+5
| |
| * scoped_by is deprecated in AR 4Akira Matsuda2013-01-021-6/+0
| |
| * Model.scoped is deprecated in favour of Model.allAkira Matsuda2013-01-021-4/+4
| |
| * a bit of inline code tagsMikhail Dieterle2013-01-011-4/+4
| |
| * no more supporting 1.8Akira Matsuda2013-01-021-11/+1
| |
| * correct raw GitHub URLsAkira Matsuda2013-01-021-2/+2
| |
| * "SSL everywhere" for GitHub URLsAkira Matsuda2013-01-022-2/+2
| | | | | | | | see: https://github.com/blog/738-sidejack-prevention-phase-2-ssl-everywhere
| * New hash syntax works only with symbol keysMikhail Dieterle2013-01-011-1/+1
| |
| * fix wrong hash syntaxMikhail Dieterle2013-01-011-1/+1
| |
| * Add more documentation to TimeWithZoneMatthew Stopa2013-01-011-0/+14
| | | | | | | | [ci skip]
* | Merge pull request #8818 from jamis/masterDavid Heinemeier Hansson2013-01-086-10/+72
|\ \ | | | | | | view_cache_dependency API
| * | view_cache_dependency APIJamis Buck2013-01-086-10/+72
|/ / | | | | | | | | | | | | | | | | | | | | | | | | A declarative API for specifying dependencies that affect template cache digest computation. In your controller, specify any of said dependencies: view_cache_dependency { "phone" if using_phone? } When the block is evaluated, the resulting value is included in the cache digest calculation, allowing you to generate different digests for effectively the same template. (Mostly useful if you're mucking with template load paths.)
* | Merge pull request #8810 from NARKOZ/image-submit-tagSteve Klabnik2013-01-083-9/+14
|\ \ | | | | | | set 'alt' attribute for image_submit_tag
| * | set 'alt' attribute for image_submit_tagNihad Abbasov2013-01-083-9/+14
| | |
* | | Revert "unpermitted params" exception -- it's just not going to work. See ↵David Heinemeier Hansson2013-01-084-150/+11
| | | | | | | | | | | | the discussion on https://github.com/rails/strong_parameters/pull/75.
* | | Never treat action or controller as unpermitted paramsDavid Heinemeier Hansson2013-01-082-6/+25
| | |
* | | Bump rack dependency to 1.4.3Carlos Antonio da Silva2013-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | It includes security bug fixes and changes the initialization of Rack::File to accept a hash, otherwise generating warnings. See 295806e for the warnings fix.
* | | Merge pull request #8812 from rubys/masterCarlos Antonio da Silva2013-01-081-1/+1
|\ \ \ | |/ / |/| | Eliminate Rack::File headers deprecation warning
| * | Eliminate Rack::File headers deprecation warningSam Ruby2013-01-081-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | See http://intertwingly.net/projects/AWDwR4/checkdepot/section-6.1.html rake test produces: "Rack::File headers parameter replaces cache_control after Rack 1.5." Despite what the message says, it appears that the hearders parameter change will be effective as of Rack 1.5: https://github.com/rack/rack/blob/rack-1.4/lib/rack/file.rb#L24 https://github.com/rack/rack/blob/master/lib/rack/file.rb#L24
* | Do not generate local vars for partials without object or collectionCarlos Antonio da Silva2013-01-084-1/+15
| | | | | | | | | | | | | | | | | | Previously rendering a partial without giving :object or :collection would generate a local variable with the partial name by default. This was noticed due to warnings in Ruby 2.0 of not used variables, which turned out to be the generation of not used variables inside partials that do not contain objects related to them.
* | Ignore binds payload with nil column in AR log subscriberCarlos Antonio da Silva2013-01-082-21/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | Some tests were raising the following error: Could not log "sql.active_record" event. NoMethodError: undefined method `type' for nil:NilClass` Due to the way binds were being logged, the column info was considered always present, but that is not true for some of the tests listed in the issue. Closes #8806.
* | Merge pull request #8800 from acapilleri/primary_keyAndrew White2013-01-081-1/+1
|\ \ | | | | | | refactor reset_primary_key and change !blank? to present? in get_primary...
| * | change unless !blank? to if blank? in get_primary_keyAngelo capilleri2013-01-081-1/+1
| | |
* | | Merge pull request #8808 from tricknotes/use-absolute-pathCarlos Antonio da Silva2013-01-081-3/+3
|\ \ \ | | | | | | | | Use absolute path [ci skip]
| * | | Use absolute pathRyunosuke SATO2013-01-081-3/+3
|/ / / | | | | | | | | | It is semantically correct than relative path.
* | | Don't configure Turn output, we aren't using it since 3.2.0Guillermo Iguaran2013-01-071-7/+0
| | |
* | | Merge pull request #8801 from ktheory/dont_require_turnGuillermo Iguaran2013-01-071-5/+2
|\ \ \ | | | | | | | | Don't require 'turn' from rails/test_help
| * | | Don't require 'turn' from rails/test_helpAaron Suggs2013-01-071-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If 'turn' is in the Gemfile with `:require => nil`, Rails should respect that. This supports the case where 'turn' may or may not be required depending on different developers' preference or environment. E.g., you require turn for local testing, but not on your CI server by putting this in `test/test_helper.rb`: require 'turn' if ENV['TURN']
* | | | Avoid Rack security warning no secret providedSantiago Pastorino2013-01-081-0/+2
| | | | | | | | | | | | | | | | This avoids "SECURITY WARNING: No secret option provided to Rack::Session::Cookie."
* | | | Merge pull request #8802 from claudiob/patch-1Guillermo Iguaran2013-01-071-1/+1
|\ \ \ \ | | | | | | | | | | Update guides/source/getting_started.md [ci skip]
| * | | | Update guides/source/getting_started.mdClaudio B.2013-01-071-1/+1
| |/ / / | | | | | | | | Reflect change in 009873a that renamed the script/ folder to bin/
* | | | Initialize instance variable to remove warningCarlos Antonio da Silva2013-01-071-0/+4
| | | | | | | | | | | | | | | | actions.rb:34: warning: instance variable @in_group not initialized
* | | | Fix readme testsCarlos Antonio da Silva2013-01-071-2/+2
| | | | | | | | | | | | | | | | Related to the change introduced in 6cf47c533d7d6784d34fc31406a335555e0c32b8.
* | | | Reset test data, and fix bug that the inserted data were not actually selectedAkira Matsuda2013-01-081-11/+16
| | | |
* | | | Reset AR::Migration.verbose change to avoid depending on test run orderAkira Matsuda2013-01-081-0/+1
| | | |
* | | | new README generated for new appsXavier Noria2013-01-083-499/+37
| | | |
* | | | doc/README_FOR_APP is no longer generatedXavier Noria2013-01-087-16/+11
| | | |
* | | | let the rails gem ship with the READMEXavier Noria2013-01-081-1/+1
| | | | | | | | | | | | | | | | The doc:rails application rake task needs this README.
* | | | Fix named scope + class method exampleCarlos Antonio da Silva2013-01-071-3/+1
| | | | | | | | | | | | | | | | Closes #8804 [ci skip]
* | | | Merge pull request #8803 from frodsan/sp_docsCarlos Antonio da Silva2013-01-071-8/+7
|\ \ \ \ | | | | | | | | | | Improve StrongParameters documentation [ci skip]
| * | | | improve StrongParameters documentation [ci skip]Francesco Rodriguez2013-01-071-8/+7
| |/ / /
* | | | Merge pull request #8773 from goshakkk/guides-page-titlesXavier Noria2013-01-071-1/+3
|\ \ \ \ | | | | | | | | | | Place article name in the beginning of guides page title
| * | | | place article name in the beginning of guides page titleGosha Arinich2013-01-061-1/+3
| | | | |
* | | | | Revert some warning removals related to Ruby 2.0Carlos Antonio da Silva2013-01-073-6/+0
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These warnings were actually a bug in Ruby 2.0, the accessors should not be raising such warnings, they are only meant for ivars. - Revert "fix warnings in Ruby 2.0" This reverts commit 26702a6d3461f4a1c75165030b96886514ecb877. - Revert "Merge pull request #8282 from arunagw/warning_removed_for_ruby2" This reverts commit f63d6544e45e78cda29c0c56fbdf3d9e1f405340, reversing changes made to 3a890681fad8218305585036abed6d7463a44e41.
* | | | Merge pull request #8799 from goshakkk/ivar-readersSteve Klabnik2013-01-072-3/+3
|\ \ \ \ | | | | | | | | | | Access ivars via instance reader methods for consistency
| * | | | access `@path` and `@routes` via reader methods in journeyGosha Arinich2013-01-072-3/+3
|/ / / /
* | | | Merge pull request #8798 from goshakkk/show-exceptions-begin-rescueJosé Valim2013-01-071-7/+4
|\ \ \ \ | |_|/ / |/| | | Refactor ShowExceptions' #call to use def-rescue instead of begin-rescue