aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix stringify_keys destructive behavior for most FormTagHelper functionsWaynn Lue2011-08-132-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 Leighton2011-08-132-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 commentsSantiago Pastorino2011-08-131-4/+2
|
* make assert_difference error message not suckAaron Patterson2011-08-131-5/+6
|
* accept option for recreate db for postgres (same as mysql now)artemk2011-08-131-2/+4
|
* Don't require assets group in production by default, you can change this ↵Santiago Pastorino2011-08-131-3/+7
| | | | default in the application.rb anyways
* This dep is already defined in activerecord.gemspecSantiago Pastorino2011-08-131-2/+0
|
* initializing @open_transactions in the initialize methodAaron Patterson2011-08-131-4/+2
|
* add a migrate class method and delegate to the new instanceAaron Patterson2011-08-131-1/+4
|
* Ensure that .up and .down work as well.Christopher Meiklejohn2011-08-131-2/+13
|
* Support backwards compatible interface for migration down/up with rails 3.0.x.Christopher Meiklejohn2011-08-132-0/+25
|
* use File.directory? as Dir.exists? is only 1.9.2+Aaron Patterson2011-08-131-2/+2
|
* Merge pull request #2324 from zenapsis/3-1-stableSantiago Pastorino2011-08-133-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 Durand2011-08-132-1/+9
| | | | delete_entry call.
* Remove unnecessary require (happened after fcbde454f6)Dmitriy Kiriyenko2011-08-131-2/+0
|
* MassAssignmentProtection: consider 'id' insensetive in StrictSanitizerBogdan Gusiev2011-08-133-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. ↵thoefer2011-08-133-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é Valim2011-08-1310-28/+28
| | | | File#to_path and similar.
* Removing extra requires from the test. Already loaded in abstract_unit.Arun Agrawal2011-08-136-6/+0
|
* remove extra require for 'active_support/dependencies' as it is required in ↵Vishnu Atrai2011-08-131-1/+0
| | | | abstract_unit.rb
* remove extra require for 'stringio' as it is required in helper.rbVishnu Atrai2011-08-131-1/+0
|
* fixes #2368. rake about not showing the middleware, db adapter and db schema ↵Vijay Dev2011-08-131-1/+1
| | | | version
* remove_possible_method: test if method existsBrad Ediger2011-08-131-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 Agrawal2011-08-131-3/+4
|
* Covering more files in test for plugin new generator.Vishnu Atrai2011-08-131-0/+2
|
* Resolve warnings by instantizing @attrubtes as nilBrian Cardarella2011-08-131-0/+1
|
* remove redundant calls to stringify_keysWaynn Lue2011-08-131-2/+2
|
* Change ActiveSupport::Cache behavior to always return duplicate objects ↵Brian Durand2011-08-132-22/+18
| | | | instead of frozen objects.
* delay backtrace scrubbing until we actually raise an exception. fixes #1936Aaron Patterson2011-08-131-7/+4
|
* default writing the schema file as utf-8Aaron Patterson2011-08-131-1/+2
|
* dump IO encoding value along with schema.rb so the file can be reloaded. ↵Aaron Patterson2011-08-132-3/+16
| | | | fixes #1592
* Instead of removing the instance variable just set it to nil, resolves the ↵Brian Cardarella2011-08-131-2/+2
| | | | warnings because of a missing instance variable
* Reset @dirty to false when slicing an instance of SafeBufferBrian Cardarella2011-08-132-0/+12
|
* Test add for plugin new generator generate mailerArun Agrawal2011-08-131-4/+5
|
* Include empty app/mailers directory in mountable and full pluginsDan Gebhardt2011-08-132-0/+1
|
* Tidy upSantiago Pastorino2011-08-132-5/+4
|
* We don't need to require erb here.Franck Verrot2011-08-131-1/+0
|
* Make use of the inherited initializer.thedarkone2011-08-131-3/+2
|
* There is no need to be destructive with the passed-in options.thedarkone2011-08-132-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 Hutchins2011-08-131-1/+1
|
* pluging generator test fixVishnu Atrai2011-08-131-8/+8
|
* Tidy up a bit plugin new gemspecSantiago Pastorino2011-08-131-7/+3
|
* Moved dependencies from Gemfile to gemspec to eliminate redundant declarations.Dan Gebhardt2011-08-132-7/+24
|
* Extracted version from gemspec and placed it in its own file. This is ↵Dan Gebhardt2011-08-133-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 Gebhardt2011-08-131-4/+8
| | | | include "TODO" to prevent gems from being built without review.
* Revert "Merge pull request #2309 from smasry/master"Jon Leighton2011-08-132-6/+1
| | | | | | | This reverts commit 9d396ee8195e31f646e0b89158ed96f4db4ab38f, reversing changes made to fa2bfd832c1d1e997d93c2269a485cc74782c86d. Reason: the change broke the build.
* Update CHANGELOG.José Valim2011-08-131-0/+2
|
* Move the cache to a nested hash which performs better than a hash with array ↵José Valim2011-08-131-11/+17
| | | | as keys.
* Rename class method to_path to _to_path and make it explicit that it is an ↵José Valim2011-08-132-5/+7
| | | | internal method.
* Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-08-1310-33/+131
| | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.