Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix stringify_keys destructive behavior for most FormTagHelper functions | Waynn Lue | 2011-08-13 | 2 | -4/+28 |
| | | | | add four new tests to verify that the other three methods that called stringify_keys! are fixed. verified that the tests break in master without the code patch. Closes #2355 | ||||
* | Quote these dates to prevent intermittent test failure. Suppose local time ↵ | Jon Leighton | 2011-08-13 | 2 | -4/+4 |
| | | | | is 00:50 GMT+1. Without the quoting, the YAML parser would parse this as 00:50 UTC, into the local time of 01:50 GMT+1. Then, it would get written into the database in local time as 01:50. When it came back out the UTC date from the database and the UTC date of two weeks ago would be compared. The former would be 23:50, and the latter would be 00:50, so the two dates would differ, causing the assertion to fail. Quoting it prevents the YAML parser from getting involved. | ||||
* | Fix a bit precompile and lazy compile comments | Santiago Pastorino | 2011-08-13 | 1 | -4/+2 |
| | |||||
* | make assert_difference error message not suck | Aaron Patterson | 2011-08-13 | 1 | -5/+6 |
| | |||||
* | accept option for recreate db for postgres (same as mysql now) | artemk | 2011-08-13 | 1 | -2/+4 |
| | |||||
* | Don't require assets group in production by default, you can change this ↵ | Santiago Pastorino | 2011-08-13 | 1 | -3/+7 |
| | | | | default in the application.rb anyways | ||||
* | This dep is already defined in activerecord.gemspec | Santiago Pastorino | 2011-08-13 | 1 | -2/+0 |
| | |||||
* | initializing @open_transactions in the initialize method | Aaron Patterson | 2011-08-13 | 1 | -4/+2 |
| | |||||
* | add a migrate class method and delegate to the new instance | Aaron Patterson | 2011-08-13 | 1 | -1/+4 |
| | |||||
* | Ensure that .up and .down work as well. | Christopher Meiklejohn | 2011-08-13 | 1 | -2/+13 |
| | |||||
* | Support backwards compatible interface for migration down/up with rails 3.0.x. | Christopher Meiklejohn | 2011-08-13 | 2 | -0/+25 |
| | |||||
* | use File.directory? as Dir.exists? is only 1.9.2+ | Aaron Patterson | 2011-08-13 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2324 from zenapsis/3-1-stable | Santiago Pastorino | 2011-08-13 | 3 | -3/+21 |
| | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories | ||||
* | Pass options in ActiveSupport::Cache::CacheStore#read_multi through to the ↵ | Brian Durand | 2011-08-13 | 2 | -1/+9 |
| | | | | delete_entry call. | ||||
* | Remove unnecessary require (happened after fcbde454f6) | Dmitriy Kiriyenko | 2011-08-13 | 1 | -2/+0 |
| | |||||
* | 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. |