Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MassAssignmentProtection: consider 'id' insensetive in StrictSanitizer | Bogdan Gusiev | 2011-08-13 | 3 | -1/+19 |
| | | | | | | In order to use StrictSanitizer in test mode Consider :id as not sensetive attribute that can be filtered from mass assignement without exception. | ||||
* | Fix the issue where default_url_options is being cached on test cases. ↵ | thoefer | 2011-08-13 | 3 | -0/+35 |
| | | | | | | Closes #1872. Closes #2031. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename new method to_path to to_partial_path to avoid conflicts with ↵ | José Valim | 2011-08-13 | 10 | -28/+28 |
| | | | | File#to_path and similar. | ||||
* | Removing extra requires from the test. Already loaded in abstract_unit. | Arun Agrawal | 2011-08-13 | 6 | -6/+0 |
| | |||||
* | remove extra require for 'active_support/dependencies' as it is required in ↵ | Vishnu Atrai | 2011-08-13 | 1 | -1/+0 |
| | | | | abstract_unit.rb | ||||
* | remove extra require for 'stringio' as it is required in helper.rb | Vishnu Atrai | 2011-08-13 | 1 | -1/+0 |
| | |||||
* | fixes #2368. rake about not showing the middleware, db adapter and db schema ↵ | Vijay Dev | 2011-08-13 | 1 | -1/+1 |
| | | | | version | ||||
* | remove_possible_method: test if method exists | Brad Ediger | 2011-08-13 | 1 | -2/+7 |
| | | | | | | | This speeds up remove_possible_method substantially since it doesn't have to rescue a NameError in the common case. Closes #2346. | ||||
* | magic comment test only if encoding_aware?. | Arun Agrawal | 2011-08-13 | 1 | -3/+4 |
| | |||||
* | Covering more files in test for plugin new generator. | Vishnu Atrai | 2011-08-13 | 1 | -0/+2 |
| | |||||
* | Resolve warnings by instantizing @attrubtes as nil | Brian Cardarella | 2011-08-13 | 1 | -0/+1 |
| | |||||
* | remove redundant calls to stringify_keys | Waynn Lue | 2011-08-13 | 1 | -2/+2 |
| | |||||
* | Change ActiveSupport::Cache behavior to always return duplicate objects ↵ | Brian Durand | 2011-08-13 | 2 | -22/+18 |
| | | | | instead of frozen objects. | ||||
* | delay backtrace scrubbing until we actually raise an exception. fixes #1936 | Aaron Patterson | 2011-08-13 | 1 | -7/+4 |
| | |||||
* | default writing the schema file as utf-8 | Aaron Patterson | 2011-08-13 | 1 | -1/+2 |
| | |||||
* | dump IO encoding value along with schema.rb so the file can be reloaded. ↵ | Aaron Patterson | 2011-08-13 | 2 | -3/+16 |
| | | | | fixes #1592 | ||||
* | Instead of removing the instance variable just set it to nil, resolves the ↵ | Brian Cardarella | 2011-08-13 | 1 | -2/+2 |
| | | | | warnings because of a missing instance variable | ||||
* | Reset @dirty to false when slicing an instance of SafeBuffer | Brian Cardarella | 2011-08-13 | 2 | -0/+12 |
| | |||||
* | Test add for plugin new generator generate mailer | Arun Agrawal | 2011-08-13 | 1 | -4/+5 |
| | |||||
* | Include empty app/mailers directory in mountable and full plugins | Dan Gebhardt | 2011-08-13 | 2 | -0/+1 |
| | |||||
* | Tidy up | Santiago Pastorino | 2011-08-13 | 2 | -5/+4 |
| | |||||
* | We don't need to require erb here. | Franck Verrot | 2011-08-13 | 1 | -1/+0 |
| | |||||
* | Make use of the inherited initializer. | thedarkone | 2011-08-13 | 1 | -3/+2 |
| | |||||
* | There is no need to be destructive with the passed-in options. | thedarkone | 2011-08-13 | 2 | -6/+15 |
| | | | | This fixes a bug that is caused by Resource/SingletonResource mangling resource options when using inline "multi"-resource declarations. | ||||
* | Give attribution to Peter Jaros for the patch we paired on. | Grant Hutchins | 2011-08-13 | 1 | -1/+1 |
| | |||||
* | pluging generator test fix | Vishnu Atrai | 2011-08-13 | 1 | -8/+8 |
| | |||||
* | Tidy up a bit plugin new gemspec | Santiago Pastorino | 2011-08-13 | 1 | -7/+3 |
| | |||||
* | Moved dependencies from Gemfile to gemspec to eliminate redundant declarations. | Dan Gebhardt | 2011-08-13 | 2 | -7/+24 |
| | |||||
* | Extracted version from gemspec and placed it in its own file. This is ↵ | Dan Gebhardt | 2011-08-13 | 3 | -3/+11 |
| | | | | consistent with the approach taken by "bundle gem", and is expected by gems such as svenfuchs/gem-release which can be used to bump / tag versions of gems. | ||||
* | Expanded meta-data in gemspec to include author, email, etc.; Defaults ↵ | Dan Gebhardt | 2011-08-13 | 1 | -4/+8 |
| | | | | include "TODO" to prevent gems from being built without review. | ||||
* | Revert "Merge pull request #2309 from smasry/master" | Jon Leighton | 2011-08-13 | 2 | -6/+1 |
| | | | | | | | This reverts commit 9d396ee8195e31f646e0b89158ed96f4db4ab38f, reversing changes made to fa2bfd832c1d1e997d93c2269a485cc74782c86d. Reason: the change broke the build. | ||||
* | Update CHANGELOG. | José Valim | 2011-08-13 | 1 | -0/+2 |
| | |||||
* | Move the cache to a nested hash which performs better than a hash with array ↵ | José Valim | 2011-08-13 | 1 | -11/+17 |
| | | | | as keys. | ||||
* | Rename class method to_path to _to_path and make it explicit that it is an ↵ | José Valim | 2011-08-13 | 2 | -5/+7 |
| | | | | internal method. | ||||
* | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-08-13 | 10 | -33/+131 |
| | | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances. | ||||
* | Make Rails.application.assets available in initializers | Joshua Peek | 2011-08-13 | 1 | -44/+36 |
| | |||||
* | contrib app minor tweak | Xavier Noria | 2011-08-13 | 1 | -2/+2 |
| | |||||
* | Reverse order fix when using function for ActiveRecord::QueryMethods Fixes #1697 | Samer Masry | 2011-08-13 | 2 | -1/+6 |
| | |||||
* | Handle the empty array correctly. | thedarkone | 2011-08-13 | 2 | -1/+2 |
| | |||||
* | Improve performance and memory usage for options_for_select with Ruby 1.8.7 | Christos Zisopoulos | 2011-08-13 | 1 | -2/+2 |
| | |||||
* | Fixed failing query when performing calculation with having based on select. | Dmitriy Kiriyenko | 2011-08-13 | 2 | -0/+8 |
| | |||||
* | Add a proxy_association method to association proxies, which can be called ↵ | Jon Leighton | 2011-08-13 | 4 | -6/+27 |
| | | | | by association extensions to access information about the association. This replaces proxy_owner etc with proxy_association.owner. | ||||
* | fix some types in schema_test.rb | Lachlan Sylvester | 2011-08-13 | 1 | -5/+5 |
| | |||||
* | simplify conditionals by assuming hash values will never be `false` | Aaron Patterson | 2011-08-13 | 1 | -10/+2 |
| | |||||
* | use regular ruby rather than clever ruby | Aaron Patterson | 2011-08-13 | 1 | -3/+3 |
| | |||||
* | fixing wildcard path matching when wildcard is inside parenthesis | Aaron Patterson | 2011-08-13 | 2 | -1/+8 |
| | |||||
* | Replace unnecessary regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-08-13 | 1 | -2/+1 |
| | |||||
* | Constantize a regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-08-13 | 1 | -1/+2 |
| | |||||
* | Remove blank line | Santiago Pastorino | 2011-08-13 | 1 | -1/+0 |
| | |||||
* | refactored 'assert_redirected_to': local call to validate_request! will be ↵ | thoefer | 2011-08-13 | 1 | -5/+4 |
| | | | | called in assert_response already. changed names of local variables in order to recognize the semantics a bit easier. |