Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
This comparison is big! We’re only showing the most recent 250 commits
Commits on Sep 14, 2010
@rohit rohit Application settings are specified in application.rb and not environm…
Commits on Sep 18, 2010
@pixeltrix pixeltrix Remove leading slash from controller [#5651 state:resolved] 301462c
@pixeltrix pixeltrix Raise ArgumentError instead of normalizing controller name when there…
… is a leading slash [#5651 state:resolved]
Commits on Sep 19, 2010
@sikachu sikachu Use `Time.current` to maintain consistency with AS::Duration
In [32b82e4], the committer has switch
methods in AS::Duration to use `Time.current` to return the correct
duration based on the `Time.default_zone` instead of using ``.

[#5607 state:committed]

Signed-off-by: Santiago Pastorino <>
@thiagopradi thiagopradi Exception handling more readable
[#5601 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino application.js should be the last file on javascript_include_tag(:all) 164e3b6
@rohit rohit Send 'rails runner' help message to stdout instead of stderr.
[#5661 state:committed]

Signed-off-by: Santiago Pastorino <>
Commits on Sep 20, 2010
@rohit rohit Fix output of 'rails runner --help' [#5661 state:committed]
Backport of 76266a

Signed-off-by: Santiago Pastorino <>
@thiagopradi thiagopradi Updating error message on ruby_version_check.rb
Signed-off-by: Santiago Pastorino <>
Commits on Sep 21, 2010
@tenderlove tenderlove providing arel with column information when possible [#5392 state:res…
@tenderlove tenderlove fixing tests. woo bfd4022
@tenderlove tenderlove removing lolinject 7a6c715
Commits on Sep 22, 2010
Hemant Kumar remove join table rows before removing owner row for habtm associatio…
…ns, fixes#5674
Neeraj Singh Error message should advice to use 'mysql2' gem.
If I create a new app using command
rails new demo -d mysql
then Gemfile contains 'mysql2' gem by default.

However if mysql gem is missing then error message says
raise "!!! Missing the mysql gem. Add it to your Gemfile: gem 'mysql', '2.8.1'"

[#5569 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Missing the mysql2 gem here 2db3035
Commits on Sep 23, 2010
@carllerche carllerche Improve performance of applications using file uploads by not busting…
… the method cache on every request containing a file upload.
Commits on Sep 24, 2010
@fredwu fredwu Ensures the app generator generates the correct @app_name. [#5434 sta…

Signed-off-by: José Valim <>
@tenderlove tenderlove fixing bug with rails use of rack-test 1a61a79
@rosenfeld rosenfeld Properly interpolate i18n keys in modules [#5572 state:resolved]
Signed-off-by: José Valim <>
@tnp tnp restore behavior of touch for models without :updated_xx [#5439 state…

Signed-off-by: José Valim <>
@jeffkreeftmeijer jeffkreeftmeijer got rid of the "ambiguous first argument; put parentheses or even spa…
…ces" warnings in the scaffold_generator tests [#4872 state:resolved]

Signed-off-by: Santiago Pastorino <>
@miloops miloops Goodbye inject, hello map.
Signed-off-by: Santiago Pastorino <>
@miloops miloops No need to use inject here, use map instead.
Signed-off-by: Santiago Pastorino <>
@miloops miloops Perf: refactor method.
Signed-off-by: Santiago Pastorino <>
@miloops miloops No need to use inject here.
Signed-off-by: Santiago Pastorino <>
@miloops miloops Refactor association_collection uniq method.
Signed-off-by: Santiago Pastorino <>
@miloops miloops Refactor methods in html node to avoid injects.
Signed-off-by: Santiago Pastorino <>
@miloops miloops Perf: refactor _assign method to avoid inject and defining unneeded l…
…ocal var.

Signed-off-by: Santiago Pastorino <>
@miloops miloops Refactor decode_credentials to avoid inject and use map instead.
Signed-off-by: Santiago Pastorino <>
@miloops miloops Fix typo and add sanity test for code statistics rake task.
Signed-off-by: José Valim <>
Signed-off-by: Santiago Pastorino <>
@miloops miloops These tests shouldn't depend on local time to pass or fail, we can us…
…e utc here.

Signed-off-by: José Valim <>
Signed-off-by: Santiago Pastorino <>
@candlerb candlerb Fix warning message when db/schema.rb doesn't exist [#5625 state:reso…

Signed-off-by: Santiago Pastorino <>
@marklazz marklazz Delegate ActiveRecord::Base.offset to scoped methods (analogous to li…
…mit) [#5688 state:resolved]

Signed-off-by: Santiago Pastorino <>
@akaspick akaspick memoized protected methods should remain protected
Signed-off-by: Santiago Pastorino <>
Commits on Sep 26, 2010
@spastorino spastorino Bump up some deps c8b34f2
@spastorino spastorino Bump up more deps c8bf967
@spastorino spastorino port is appended twice to HTTP_HOST when host already has the port 268319c
@spastorino spastorino Not need to do this double ternary 262319a
@spastorino spastorino Fix the precedence issue here 19b7123
Tim Connor Fix remove_index issue when provided :name is a symbol
Signed-off-by: Santiago Pastorino <>
@benders benders db:structure:dump should list current Rails.env adapter in errors, no…
…t always the test adapter

[#5710 state:committed]

Signed-off-by: Santiago Pastorino <>
Commits on Sep 27, 2010
@tenderlove tenderlove do not pass nil values to arel f90a298
Tim Connor Raise errors when index creation fails
Signed-off-by: José Valim <>
Tim Connor Fix issue with remove_index and add unit test [#5645 state:resolved]
Signed-off-by: José Valim <>
@tenderlove tenderlove depend on the arel gem, not the arel git repo d5e9165
@tenderlove tenderlove removing nonsensical tests, limit now actually adds a limit a88af8a
@tenderlove tenderlove Revert "depend on the arel gem, not the arel git repo"
This reverts commit d5e9165.
@tenderlove tenderlove depending on arel 2.0.0 e677275
@dcrec1 dcrec1 renderer calls object.to_json when rendering :json => object [#5655 s…

Signed-off-by: José Valim <>
Neeraj Singh after_create in ActiveModel should in the order specified
[#5650 state:resolved]

Signed-off-by: José Valim <>
@tenderlove tenderlove make sure we use the engine assigned to the table when quoting b32bd08
@fxn fxn let Hash#to_param and Hash#to_query sort again
This was a regression introduced in 5c85822. We bring
sorting back because people rely on it, eg for constructing consistent cache keys.
@fxn fxn revises RDoc of Hash#to_param to be more precise about ordering 61e70bf
Commits on Sep 28, 2010
Neeraj Singh backport of #5705 to 3-0-stable
[#5705 state:resolved]

Signed-off-by: José Valim <>
Neeraj Singh backport of #5706 and #5579 to 3-0-stable
[#5706 state:resolved]

Signed-off-by: José Valim <>
@tenderlove tenderlove porting 515917f to master c2c6f12
@tenderlove tenderlove porting 0665182 to master. Thanks Marcelo Giorgi 9edaf10
@etiennebarrie etiennebarrie Test add_index and remove_index with a symbol name #4891 fae57ef
@marklazz marklazz Set attributes properly for model built from association with conditi…
…ons [#5562 state:resolved]

Signed-off-by: Santiago Pastorino <>
Commits on Sep 29, 2010
@tenderlove tenderlove where_values_hash always returns a hash 40bc0cb
@tenderlove tenderlove reduce method calls in the dynamic finder matcher 10d9740
@tenderlove tenderlove DRY up our regular expression 1efeb5c
@tenderlove tenderlove do not need intermediate variable, avoid lasgn cab1207
@tenderlove tenderlove no need for a case / when statement 1e687e9
@tenderlove tenderlove @klass also uses DynamicFinderMatch, so no need for it on the relation 409bd22
@tenderlove tenderlove constructor should not do so much work; avoid allocating object if po…
@tenderlove tenderlove adding test cases for the dynamic finder matcher match method e6e9083
@tenderlove tenderlove be kind to the garbage collector: only instantiate objects when absol…
…utely necessary
@tenderlove tenderlove use new skool Ruby instead of Ruby Classic™ 6059c96
@tenderlove tenderlove removing an inject + merge in favor of Hash#[] c493624
@tenderlove tenderlove avoid calling to_sql when we can 93096ae
@tenderlove tenderlove no need for splat and flatten bf388f3
@tenderlove tenderlove each works well too ede0466
@tenderlove tenderlove convert inject to map + join 1685bd2
@tenderlove tenderlove fisting the postgresql tests 3daf822
@tenderlove tenderlove removing a conditional that is not used 439a0ce
@tenderlove tenderlove refactoring to remove crazy logic 2e01141
@tenderlove tenderlove removing unused lasgns a01547c
@tenderlove tenderlove dry up calls to arel.join() ddc2f2e
@tenderlove tenderlove we only care about arrays and strings 8ae8125
@tenderlove tenderlove shorten up or sql literal creation statements e080144
@tenderlove tenderlove SqlLiteral is a string, so we can dry up these conditionals a35c8c6
@tenderlove tenderlove removing more useless code! yay! f640af5
@spastorino spastorino Add gem 'arel' from git commented out as an example of how to Bundle …
…egde Rails with Arel edge

[#5723 state:committed]
@josevalim josevalim Ensure that named routes do not overwrite previously defined routes. 1a2b28c
Commits on Sep 30, 2010
@josevalim josevalim Use .find here as it is simpler and faster. 5704aa2
@yalab yalab Fix 'rake db:create' is ignore encoding when using postgres [#5717 st…

Signed-off-by: Santiago Pastorino <>
@be9 be9 Tests proving #5441 43f404e
@tenderlove tenderlove group clause must be more specific de3c0d7
@tenderlove tenderlove [#5441 state:resolved] refactoring code to determine aggregate column fc1bd2b
@marklazz marklazz AssociationCollection#include? working properly for objects added wit…
…h build method [#3472 state:resolved]
@tenderlove tenderlove speeding up object instantiation by eliminating instance_eval ea63054
@tenderlove tenderlove type_name is never a blank string, so use faster .nil? call 7e73344
@tenderlove tenderlove build_where should be private b0b2d41
@tenderlove tenderlove type_name should check for blank because people may have messed up da…
@tenderlove tenderlove does not do anything anymore 87104a7
Commits on Oct 02, 2010
@josevalim josevalim Revert "Perf: refactor _assign method to avoid inject and defining un…
…needed local var."

_assigns must return a hash.

This reverts commit e66c1ce.
@asanghi asanghi Fixing search_field to remove object attribute from options hash [#5730
… state:resolved]

Signed-off-by: José Valim <>
@asanghi asanghi added test for form_for with search_field
Signed-off-by: José Valim <>
@josevalim josevalim Deprecate config.generators in Rails::Engine in favor of config.app_g…

config.generators still works fine in Rails::Application and Rails::Railtie, but it will be deprecated in the latter in Rails 3.1.
@josevalim josevalim :'' is not valid ruby. ebfbb2a
Commits on Oct 03, 2010
@dchelimsky dchelimsky Added test case to specify that _assigns returns a Hash in AV::TC
[#5751 state:resolved]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino PERF: Hash[] + map is faster than this inject, and var[1..-1] is fast…
…er than var.sub('@', '')
Commits on Oct 04, 2010
@spastorino spastorino _assigns can have more internal vars in this test e5da873
@dchelimsky dchelimsky Add view_assigns and deprecate _assigns for AV::TC on 3-0-stable

Signed-off-by: José Valim <>
@tenderlove tenderlove [#5406 state:resolved] calling the correct method on minitest to obta…
…in the test name
@tenderlove tenderlove calling correct method on minitest for test name when teardown callba…
…ck fails
Commits on Oct 05, 2010
@fxn fxn new guide: Ruby on Rails Guides Guidelines da927d2
@fxn fxn aaaaannnddd, your beloved typo only spotted in the github colored dif…
…f no matter how many passes you did before pushing
@fxn fxn a couple of touches to the guides guidelines 13a4d14
Commits on Oct 06, 2010
@sferik sferik Fix copy/paste bug
Signed-off-by: José Valim <>
@asanghi asanghi mailer comment should use namespace in comment accc567
@asanghi asanghi adding test for namedspaced mailers af53ed8
Hemant Kumar fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests 444aa9c
Commits on Oct 07, 2010
@radar radar Add "a" to make it better English
[#3796 state:committed]

Signed-off-by: Santiago Pastorino <>
@anildigital anildigital Add jruby-openssl gem in Gemfile necessary for JRuby
[#5762 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Add a TODO to remove gem "jruby-openssl" when jruby-openssl is merge …
…in jruby

@tenderlove tenderlove adding tests for uploaded file 1e50fae
@tenderlove tenderlove delegate to the @tempfile instance variable c4528de
@tenderlove tenderlove if it walks like a duck and talks like a duck, it must be a duck 003d67e
@tenderlove tenderlove raising an argument error if tempfile is not provided d752447
@tenderlove tenderlove making sure respond_to? works properly fc9e9ed
@tenderlove tenderlove only forwarding enough methods to work. People should grab the delega…
…te tempfile if they really need to do hard work
@jamesmacaulay jamesmacaulay fix rendering a partial with an array as its :object [#5746 state:res…

Signed-off-by: Michael Koziarski <>
Commits on Oct 08, 2010
@pixeltrix pixeltrix Backport ca3936d to 3-0-stable [#5274] 981942a
@pixeltrix pixeltrix Refactor resource action scope methods d066ad6
Commits on Oct 09, 2010
@spastorino spastorino Merge rails routing guide from master 0b9eced
Commits on Oct 10, 2010
@wycats wycats Fix a few bugs when trying to use Head standalone b4b4a2a
@andreacampi andreacampi Override #store to be consistent with #[].
[#5775 state:resolved]

Signed-off-by: Santiago Pastorino <>
@wincent wincent Fix misleading advice to add 'memcache' to Gemfile
[#5539 state:committed]

Commit 5714438 removed the hard-coded dependency on the memcache-client
gem, and added this warning advising people to install it if needed. The
problem is, however, that if people follow the advice literally and install
the 'memcache' gem, they will wind up with a completely different thing,
which is not API compatible with the memcache-client gem and which Rails
can't work with.

So, be explicit and tell users to install the 'memcache-client' gem.

Signed-off-by: Santiago Pastorino <>
@bsears bsears Make ActiveSupport load own version.
[#5739 state:committed]

Signed-off-by: Santiago Pastorino <>
@wycats wycats Always pull in version for frameworks (standardize autoload / require…
… / none)
@wycats wycats Cherry pick didn't get this deletion b4954e8
@spastorino spastorino Revert "Make InstanceTagMethods#value_before_type_cast raise if the m…
…odel don't respond to attr_before_type_cast or attr method"

And    "Makes form_helper use overriden model accessors"

This reverts commit 3ba8e31 and fb0bd8c.
Commits on Oct 11, 2010
@spastorino spastorino Add except as AR public API d0d1aca
@spastorino spastorino Deprecate reorder in favor of except(:order).order(...) 0b46f72
@spastorino spastorino CHANGELOG of reorder deprecation 448a187
@spastorino spastorino data-disable-with in button_to helper
[#4993 state:committed]

Signed-off-by: Santiago Pastorino <>
@marklazz marklazz Honor distinct option when used with count operation after group clau…
…se [#5721 state:resolved]
@tenderlove tenderlove we should always cast the value based on the column 0a8eaff
@szimek szimek Return a valid empty JSON on successful PUT and DELETE requests. [#5199
… state:resolved]

Signed-off-by: José Valim <>
Commits on Oct 12, 2010
@fxn fxn getting started guide: deletes orphan <% end %>, reported by Michael …
…L. Miller
@tenderlove tenderlove stop using deprecated arel API 85ffbfe
Commits on Oct 14, 2010
@spastorino spastorino Don't use Arel from git anymore 10d3ab7
@spastorino spastorino Leave env :AREL only for testing purposes f7faa86
@NZKoz NZKoz Revert 0c0b0aa which introduced a security vulnerability.
This addresses  CVE-2010-3933


Commits on Oct 16, 2010
@spastorino spastorino Bump bundler up to 1.0.3 0891f49
Commits on Oct 18, 2010
@pixeltrix pixeltrix Reset assert_template instance variables between requests [#5832 stat…
@spastorino spastorino Merge 3.0.1 CHANGELOGs and prepare 3.0.2.pre 14b33a4
@spastorino spastorino compact is unneeded here adea146
Commits on Oct 20, 2010
@tenderlove tenderlove bumping mysql2 requirement 4480521
@janx janx default scope merge where clauses [#5488 state:resolved] f294540
Commits on Oct 21, 2010
@spastorino spastorino Revert "Bump bundler up to 1.0.3"
This reverts commit 0891f49.
Commits on Oct 23, 2010
@fxn fxn switches guides code syntax highlighting to the better SyntaxHighligh…
…ter, I did my best with the theme, I swear
Commits on Oct 24, 2010
@fxn fxn removes the toolbar from guides code blocks 1a618e9
@fxn fxn use a gray a little darker in code blocks, for better contrast with t…
…he gray background
@fxn fxn configure a uniform font-family for code in guides ec23bc1
@fxn fxn ensures that no browser shows a vertical scrollbar in the code blocks…
… of guides, thanks to Marcelino Llano for a hint to fix this
Commits on Oct 25, 2010
@pixeltrix pixeltrix Don't write out secure cookies unless the request is secure 909c860
Commits on Oct 26, 2010
@mikel mikel Updating mail dependency to 2.2.9 5f6a02f
@pixeltrix pixeltrix Allow generated url helpers to be overriden [#5243 state:resolved] 63b0d0e
Commits on Oct 27, 2010
@pixeltrix pixeltrix Ensure that Rails.env is defined first 0d23c21
@tenderlove tenderlove reducing the number of parameters to select() f73a3e6
Commits on Oct 29, 2010
@pixeltrix pixeltrix Backport of documentation fixes: ddf7360
Commits on Oct 30, 2010
@ernie ernie Fix issues when including the same association multiple times and mix…
…ing joins/includes together.
@tenderlove tenderlove dup rather than create so many arrays 4fd9c20
@tenderlove tenderlove swap out some n^2 for some n 4772abc
@tenderlove tenderlove reduce duplicate where removal to one loop 4d2a53d
@tenderlove tenderlove no need to merge where values if no new where values have been added ae7a354
@tenderlove tenderlove adding tests for #5234 and #5184. Tests were from Akira Matsuda. Than…
…ks Akira!
@tenderlove tenderlove only returning where values for the corresponding relation, also filt…
…ering where value hash based on table name [#5234 state:resolved] [#5184 state:resolved]
@ugisozols ugisozols Changed environment.rb to application.rb c95f155
@robzolkos robzolkos added tip about ruby-debug needing a different gem if using 1.9 [#190
@ugisozols ugisozols Reworded sentence using text from rails source code. eca3791
@ugisozols ugisozols Changed environment.rb to application.rb 3ca1bc3
Commits on Oct 31, 2010
@jonleighton jonleighton Fix bug with 0bb85ed which missed out a fixtures declaration in casca…
Commits on Nov 02, 2010
@pixeltrix pixeltrix Add additional HTTP request methods from the following RFCs:
* Hypertext Transfer Protocol -- HTTP/1.1

* HTTP Extensions for Distributed Authoring -- WEBDAV

* Versioning Extensions to WebDAV

* Ordered Collections Protocol (WebDAV)

* Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol

* Web Distributed Authoring and Versioning (WebDAV) SEARCH

* PATCH Method for HTTP

[#2809 state:resolved] [#5895 state:resolved]
@jeffkreeftmeijer jeffkreeftmeijer Make sure capture's output gets html_escaped [#5545 state:resolved]
Also remove a duplicate test_link_to_unless assertion and add .html_safe
to the remaining one.

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Call as ERB::Util.html_escape since is not the module is not included…
… here
@spastorino spastorino Test that capture doesn't escape twice a682986
@dontangg dontangg Added :negative_format option to number_to_currency function [#5894 s…

Signed-off-by: Andrew White <>
Commits on Nov 03, 2010
@fxn fxn made a pass to the docs of :negative_format a56142c
Commits on Nov 04, 2010
@josevalim josevalim Update to latest thor with https bug fix. e6abfc4
sblackstone Association Proxy should not undefine the default respond_to_missing 7ab940c
Commits on Nov 07, 2010
@chriseppstein chriseppstein Correctly handle the case of an API response that returns a hash by t…
…reating a single hash argument as the resource instead of as options.

Signed-off-by: Santiago Pastorino <>
@NZKoz NZKoz Added support for Erubis <%== tag
<%== x %> is syntactic sugar for <%= raw(x) %>

Signed-off-by: Michael Koziarski <>
[#5918 status:committed]


@NZKoz NZKoz Make safe_append= live on AV::OutputBuffer not AS::SafeBuffer f676beb
@odorcicd odorcicd Fix FileStore cache incorrectly regenerating its key from a pathname …
…when a regexp is used in expire_fragment

[#5850 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Test cache.key_file_path with separators ht. Jim Wilson [#5611] c7fac8c
Commits on Nov 09, 2010
@pixeltrix pixeltrix Strip regexp anchors from rake routes output [#5934 state:resolved] 4b33bd9
@dchelimsky dchelimsky use persisted? instead of new_record? wherever possible
- persisted? is the API defined in ActiveModel
- makes it easier for extension libraries to conform to ActiveModel
  without concern for whether the extended object is specifically

[#5927 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Execute less operations 844b9a5
@spastorino spastorino Don't check if persisted is defined just initialize it properly b0f6349
@spastorino spastorino Double negation of an already boolean value produces the same result bf875b2
@fxn fxn registers number_to_currency's :negative_format in the CHANGELOG of AP 7611a09
Commits on Nov 11, 2010
@alvarobp alvarobp Fix ActiveSupport::TimeWithZone#localtime method with DateTime
[#5344 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Duck typing here 2e4e1ed
@asanghi asanghi patching to ensure separator is printed with order [#5816 state:resol…

Signed-off-by: Santiago Pastorino <>
@carlosantoniodasilva carlosantoniodasilva Bring ActionPack tests back to life
Signed-off-by: José Valim <>
@carlosantoniodasilva carlosantoniodasilva Fix issue with rendering partials and then yielding inside a render l…
…ayout call

The given block was never being executed when another render :partial call
existed before the yield call, due to the block being overriden.

This commit also adds some more tests to render with :layout option.

Signed-off-by: José Valim <>
@carlosantoniodasilva carlosantoniodasilva Fix render partial with layout and no block
When using a render :partial with :layout call, without giving a block,
if the given :partial had another render :partial call, the layout was
not being rendered. This commit fixes this context by storing variables
before rendering the partial, so they are not overrided in any successive
call to render partials down the path. All ActionPack tests are ok.

Signed-off-by: José Valim <>
@marklazz marklazz Make after_filter halt when before_filter renders or redirects [#5648

Signed-off-by: José Valim <>
Neeraj Singh fields_for should treat ActiveRecord::Relation as an array
[#5795 state:resolved]

Signed-off-by: José Valim <>
@jeffkreeftmeijer jeffkreeftmeijer The model generator shouldn't throw warnings when using mass nouns [#…
…5363 state:resolved]

Signed-off-by: José Valim <>
@spastorino spastorino Bump Arel up to 2.0.2 30ae44a
@ndbroadbent ndbroadbent Fixed bug in active_record/nested_attributes where an empty string id…
… caused an ActiveRecord::RecordNotFound error. Found by [Ben Tillman]

[#5638 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Use ! instead of not ed62b96
Commits on Nov 13, 2010
@spastorino spastorino Make collection and collection_from_object methods return an array
This transforms for instance scoped objects into arrays and avoid
unneeded queries

[#5958 state:committed]
@carlosantoniodasilva carlosantoniodasilva Fix rendering partial with layout, when the partial contains another …
…render layout with block call

In such situations, the first layout was not being applied. This fixes it by
storing the block variable before rendering the partial, so the variable
is not overrided, thus the layout is applied (bear in mind the renderer is
shared among all render calls).

This commit also adds some more tests to render partials with layouts and
nested render layout calls.

Signed-off-by: Santiago Pastorino <>
@carlosantoniodasilva carlosantoniodasilva Remove lost commented debugger call
Signed-off-by: Santiago Pastorino <>
Commits on Nov 14, 2010
@jasoncheow jasoncheow Fix bug where size of through association is not correct after adding…
… a has_many association (occurs only before main object has been reloaded).

[#5968 state:committed]

Signed-off-by: Santiago Pastorino <>
@spastorino spastorino Remove unused var 01ed700
Commits on Nov 15, 2010
@mikel mikel Bump up mail dependency to take advantage of relaxed i18n version req…
@mikel mikel Revert "Bump up mail dependency to take advantage of relaxed i18n ver…
…sion requirement"

Locking to ~> means locking to < 2.2.10, not intended behaviour.

This reverts commit e7de5dd.
@radar radar Add further documentation + examples for the get, post, put and delet…
…e methods in ActionDispatch::Routing::Mapper::HttpHelpers
@radar radar Separate comments and examples with "Examples" header. 9078041
@radar radar Document the :module and :path options for the scope method. 3551e25
@radar radar Document the defaults method afc16f6
@radar radar Document the controller method for AD's Mapper 467d584
@radar radar Begin to document the namespace method for AD's Mapper 1287fdd
@radar radar Document the :path option for namespace e777b91
@radar radar Document the :module option for namespace 4228318
@radar radar Document the :as option for the namespace method 4552571
@radar radar Fix indentation on comment for :path option 3401529
@radar radar Space between module option documentation and path documentation 0db8412
@radar radar Document the :as option for the scope method 06402b0
@radar radar Indent code example for :as option 7a1f22f
@radar radar Indent final comment for :path option 020f74b
@radar radar Document the :shallow_path option for scope 4ffd31e
@radar radar Fix indentation for :as option documentation on the namespace method 205b240
Francesc Esplugas Fixes ActionMailer example error 45c3aba
Rajinder Yadav corrected to Rails 3 syntax for declaring resources bad920f
Rajinder Yadav removed etc. not require 41e5e4a
@dmathieu dmathieu Use Rails.logger, not ActiveRecord::Base.logger
Because everybody is not using ActiveRecord. And the logger is not specific to it.
Rajinder Yadav removed indentation, for code style consistency and readibility 5d9219b
@josevalim josevalim Add a note to TextHelpers making explicit their default behavior of n…
…ot escaping but sanitizing.
@sleeper sleeper Fixed the name of the 'generator option' 13f10ac
@radar radar Add documentation for the mount method in ActionDispatch's Mapper 86534a3
@radar radar See the scope method for documentation for namespace's shallow_path o…
@radar radar Add documentation for :path_names option on resources ccc8d9c
Paco Guzman colorize_logging is a Rails General Configuration option not a specif…
…ic option of ActiveRecord
@radar radar Document the constraints method 28f9d60
Rajinder Yadav the partial option is not required for simple partial rendering 7487767
Rajinder Yadav corrected sample code to clear @_current_user class variable also c41d981
Rajinder Yadav added note with example for using flash in redirection 4369f13
Rajinder Yadav removed unnecessary indentation 1540bf5
@jaimeiniesta jaimeiniesta Getting Started guide: remove calls to f.error_messages as it has bee…
…n removed from Rails
@bensie bensie Add HTTP Verb Constraints (:via) to routing guide 029c8ff
@dhh dhh Prep for 3.0.2 release 31b6a6a
@dhh dhh Prep for relese 186e3c7