aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixing `as_json` method for ActiveRecord models.Nicolás Hock Isaza2011-09-292-1/+11
| | | | | | | | | | | | | When you've got an AR Model and you override the `as_json` method, you should be able to add default options to the renderer, like this: class User < ActiveRecord::Base def as_json(options = {}) super(options.merge(:except => [:password_digest])) end end This was not possible before this commit. See the added test case.
* Add CHANGELOG entriesSantiago Pastorino2011-09-293-1/+67
|
* Don't call self.class unless necessary. Closes #3171.Jon Leighton2011-09-292-2/+3
|
* Merge pull request #3167 from ↵José Valim2011-09-292-1/+17
|\ | | | | | | | | dmitriy-kiriyenko/honour_rails_env_environment_variable_when_running_rake RAILS_ENV environment variable is ignored when running rake from thor script using Rails::Generators::Actions
| * Honour RAILS_ENV environment variable when running rake.Dmitriy Kiriyenko2011-09-292-1/+17
|/
* javascript_path and stylesheet_path should honor the asset pipeliningSantiago Pastorino2011-09-282-2/+28
|
* Merge pull request #3159 from elliterate/digest_auth_with_query_stringJosé Valim2011-09-282-1/+10
|\ | | | | Fixed digest authentication for requests with a query string [#3158]
| * Fixed digest authentication for requests with a query string [#3158]Colin Shield & Ian Lesperance2011-09-282-1/+10
| |
* | Merge pull request #3156 from ihower/enhance_button_to_helper_v2Santiago Pastorino2011-09-282-5/+19
|\ \ | |/ |/| Make button_to helper support "form" option
| * Make button_to helper support "form" option which is the form attributes.Wen-Tien Chang2011-09-292-5/+19
| |
* | partial pass over the assets guideXavier Noria2011-09-281-15/+12
|/
* fixing typo in assets guideVijay Dev2011-09-281-1/+1
|
* Merge pull request #3152 from rocky-jaiswal/fix-failed-ar-testJon Leighton2011-09-282-2/+2
|\ | | | | Fixed failed test under 1.8.7 as map.keys order in indeterminable
| * Fixed failed test under 1.8.7 as map.keys order in indeterminableRocky Jaiswal2011-09-282-2/+2
|/
* Merge pull request #3150 from avakhov/patch-html-sanitizer-cqi-requireSantiago Pastorino2011-09-271-0/+1
|\ | | | | add missing require to html sanitizer
| * add missing require to html sanitizerAlexey Vakhov2011-09-271-0/+1
| |
* | the infamous detail only spotted in GitHub diffs no matter how careful you ↵Xavier Noria2011-09-271-1/+1
| | | | | | | | were before pushing
* | partial pass over the asset pipelineXavier Noria2011-09-271-14/+17
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-09-286-7/+32
|\
| * copy edit d47c2c4Vijay Dev2011-09-281-7/+1
| |
| * fixing docs for delete_sql where quotes should be used in this example.Diego Plentz2011-09-261-1/+1
| |
| * Alert about the new Bundler require for asset gems Nicolás Hock Isaza2011-09-261-1/+20
| | | | | | | | | | | | | | | | | | | | If you are coming from a Rails 3.0 application, you won't have the correct Bundler require statement. This will cause the gems under the `assets` group not to be available in the development and production environment. I think this is related to the issue #39 in rails-sass https://github.com/rails/sass-rails/issues/39
| * update ActionMailer example using last truncate helper method signatureAlexey Vakhov2011-09-261-2/+2
| |
| * fix ActionMailer readme exampleAlexey Vakhov2011-09-261-0/+2
| |
| * Fixed typo that I added - doh.Chris Kimpton2011-09-261-1/+1
| |
| * Clarify that the Active Record config should just work automaticallyChris Kimpton2011-09-261-1/+5
| |
| * add some notes on setup for Active Record testsChris Kimpton2011-09-261-0/+6
| |
| * pluralize "locales" since that's what's used in other parts of the document, ↵Waynn Lue2011-09-231-2/+2
| | | | | | | | and add a missing "on"
| * Changed "en-UK" to "en-GB"Christopher Arrowsmith2011-09-221-1/+1
| | | | | | | | Signed-off-by: Christopher Arrowsmith <chris@agouti.co.uk>
* | Merge pull request #3141 from jsl/make_ssl_configurableJosé Valim2011-09-274-3/+13
|\ \ | | | | | | Make the Rack::SSL middleware configurable
| * | Make the Rack::SSL middleware configurableJustin Leitgeb2011-09-264-3/+13
|/ /
* | partial pass over the asset pipeline guideXavier Noria2011-09-261-20/+22
| |
* | Don't require a DB connection when setting primary key.Jon Leighton2011-09-263-1/+20
| | | | | | | | Closes #2807.
* | Merge pull request #3138 from christos/correct_image_path_with_pipelineSantiago Pastorino2011-09-262-2/+11
|\ \ | | | | | | Correctly override image_path in sprockets rails_helper
| * | Refactor image_path to use asset_path directlyChristos Zisopoulos2011-09-261-1/+1
| | |
| * | Correctly override image_path in sprockets rails_helperChristos Zisopoulos2011-09-262-1/+10
| | |
* | | Merge pull request #3136 from guilleiguaran/clear-digests-on-precompileSantiago Pastorino2011-09-262-0/+22
| | | | | | | | | | | | Avoid use of existing precompiled assets during rake assets:precompile run
* | | Copy assets to nondigested filenames tooSantiago Pastorino2011-09-262-5/+11
|/ /
* | Merge pull request #3030 from htanata/fix_habtm_select_query_methodJon Leighton2011-09-263-4/+16
| | | | | | | | Fix: habtm doesn't respect select query method
* | Just assert_equal hereSantiago Pastorino2011-09-261-1/+1
| |
* | Merge pull request #3135 from christos/respect_assets_digest_valueSantiago Pastorino2011-09-262-1/+9
|\ \ | | | | | | Give precedence to `config.digest = false` over the existence of manifest.yml asset digests
| * | Give precedence to `config.digest = false` over manifest.yml asset digestsChristos Zisopoulos2011-09-262-1/+9
| | |
* | | Fix belongs_to polymorphic with custom primary key on target.Jon Leighton2011-09-265-18/+30
| | | | | | | | | | | | Closes #3104.
* | | Encapsulate assets initialization in its own rake task.José Valim2011-09-261-3/+7
| | |
* | | image_tag should use /assets if asset pipelining is turned on. Closes #3126Santiago Pastorino2011-09-262-0/+8
|/ /
* | Make serializable_hash take attr values directly from attributes hash.Jon Leighton2011-09-263-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | Previously, it would use send() to get the attribute. In Active Resource, this would rely on hitting method missing. If a method with the same name was defined further up the ancestor chain, that method would wrongly be called. This change fixes test_to_xml_with_private_method_name_as_attribute in activeresource/test/cases/base_test.rb, which was broken after 51bef9d8fb0b4da7a104425ab8545e9331387743, because that change made to_xml use serializable_hash.
* | CollectionProxy#replace should change the DB records rather than just ↵Jon Leighton2011-09-262-1/+12
| | | | | | | | mutating the array. Fixes #3020.
* | fix deprecation warning in cookie_store_testVijay Dev2011-09-251-1/+1
| | | | | | | | The options argument to MessageVerifier#initialize should be a hash.
* | Merge pull request #3125 from dolzenko/masterJosé Valim2011-09-252-0/+6
|\ \ | | | | | | Implement Mime::Type#respond_to? (consistently with #method_missing) Closes #3032
| * | Implement Mime::Type#respond_to? (consistently with #method_missing)Evgeniy Dolzhenko2011-09-252-0/+6
|/ /