aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1711 from daeltar/masterJosé Valim2011-06-151-1/+1
|\ | | | | Use assert_equal instead of assert in uploaded file test.
| * Use assert_equal instead of assert in uploaded file test.Lukáš Konarovský2011-06-151-1/+1
|/
* Merge pull request #1707 from dmathieu/memoizeJosé Valim2011-06-152-1/+19
|\ | | | | Allow last argument to be a boolean in memoized methods
| * allow boolean last argument in memoized methods - Closes #1704Damien Mathieu2011-06-151-1/+5
| | | | | | | | If in the memoized method, the last argument is a boolean, it's considered as the reload method. Don't consider it like that if that's a normal method argument.
| * Failing test to show problem when last argument of a memoized method is trueBrian Underwood2011-06-151-0/+14
| | | | | | | | Signed-off-by: Damien Mathieu <42@dmathieu.com>
* | simplify to only one conditionDamien Mathieu2011-06-151-5/+1
|/ | | | Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Make MissingTranslation exception handler respect :rescue_formatAndrew White2011-06-152-1/+13
|
* Fix appending sprockets pathsJoshua Peek2011-06-141-1/+6
|
* Merge pull request #1698 from bagwanpankaj/masterJon Leighton2011-06-141-1/+1
|\ | | | | Removed warnings from while running tests in Ruby 1.9.2
| * Removed warning while running test with ruby 1.9.2bagwanpankaj2011-06-141-1/+1
|/
* Merge pull request #1689 from dmathieu/utf8-filenameJosé Valim2011-06-142-1/+18
|\ | | | | Encode the uploaded file's name in utf8 - Closes #869
| * all requests are utf-8. Don't use the external encoding.Damien Mathieu2011-06-142-9/+3
| |
| * encode the uploaded file's name in the default external encoding - Closes #869Damien Mathieu2011-06-142-1/+24
|/
* Add Gemfile dependency for require_relative on mri18. This is a dependency ↵Jon Leighton2011-06-131-0/+3
| | | | of linecache which is a dependency of ruby-debug. However, the latest release of linecache (0.45) omits the dependency from its gemspec, causing the build to fail. I have emailed the maintainer so we should remove this when it's fixed upstream.
* Remove obsolete compatibility moduleAndrew White2011-06-131-11/+0
|
* Rename Time#whole_* to Time#all_* [thanks Pratik!]David Heinemeier Hansson2011-06-133-16/+16
|
* Added Time#whole_day/week/quarter/year as a way of generating ranges ↵David Heinemeier Hansson2011-06-133-1/+48
| | | | (example: Event.where(created_at: Time.now.whole_week)) [DHH]
* Added instance_accessor: false as an option to Class#cattr_accessor and ↵David Heinemeier Hansson2011-06-133-4/+14
| | | | friends [DHH]
* Merge pull request #1676 from neerajdotname/make_test_name_meaningfulSantiago Pastorino2011-06-131-1/+1
|\ | | | | Remove "is_assed" with something more meaningful
| * Remove "is_assed" with something more meaningfulNeeraj Singh2011-06-131-1/+1
| |
* | Merge pull request #1654 from ganeshkumar/test_casesSantiago Pastorino2011-06-131-1/+0
|\ \ | | | | | | removed duplicate code in tests
| * | removed duplicate codeganesh2011-06-111-1/+0
| | |
* | | Pass mass-assignment options to nested models - closes #1673.Andrew White2011-06-134-18/+276
| | |
* | | Rename tests to reflect associationsAndrew White2011-06-131-30/+30
| | |
* | | Merge pull request #1672 from ryanb/namespace_engine_assetsJosé Valim2011-06-133-19/+37
|\ \ \ | |_|/ |/| | Namespace engine assets
| * | namespace engine assetsRyan Bates2011-06-123-19/+37
|/ /
* | Add support for using an ARCONFIG environment variable to specify the ↵Jon Leighton2011-06-122-4/+12
| | | | | | | | location of the config.yml file for running the tests
* | Oops, this should have been in the last commit :zap:Jon Leighton2011-06-121-1/+1
| |
* | Make assert_no_queries literally enforce that there are no queries. As in, ↵Jon Leighton2011-06-122-15/+4
| | | | | | | | not a single line of SQL should be sent to the database, not even stuff that is ignored by assert_queries. The argument being that if you write assert_no_queries, you really do not want there to be any queries.
* | If we're going to use a global variable, let's at least namespace itJon Leighton2011-06-122-10/+10
| |
* | Replace inline lambdas with named methodsJon Leighton2011-06-121-29/+42
| |
* | Refactor tests to be less brittleJon Leighton2011-06-123-28/+74
| |
* | Move BEGIN and COMMIT into IGNORED_SQL rather than having them as a special ↵Jon Leighton2011-06-122-2/+1
| | | | | | | | case in assert_queries
* | Don't wrap operations on collection associations in transactions when they ↵benedikt2011-06-122-3/+54
| | | | | | | | are not needed, so the connection adapter does not send empty BEGIN COMMIT transactions blocks to the database.
* | Define ActiveSupport#to_param as to_str - closes #1663Andrew White2011-06-123-1/+19
| |
* | Merge branch 'master' of github.com:rails/railsXavier Noria2011-06-121-3/+3
|\ \
| * | Make i18n tests more robust.José Valim2011-06-121-3/+3
| | |
* | | backslash insertion for RDoc main page ignores code blocks, also adds ↵Xavier Noria2011-06-121-1/+19
|/ / | | | | | | comments to explain what's this hack about
* | revises the pattern that excludes generator templates in API generationXavier Noria2011-06-121-1/+1
| | | | | | | | | | | | | | | | With the previous pattern RDoc processed railties/lib/rails/generators/rails/plugin_new/templates/test/%name%_test.rb and that resulted in a spurious "<" class.
* | Update changelog with #1552 feature: add hidden field before ↵Piotr Sarnacki2011-06-111-0/+5
| | | | | | | | select[multiple=true]
* | Update CHANGELOG.José Valim2011-06-111-0/+3
| |
* | Get rid of the alternate namespace lookup.José Valim2011-06-113-17/+5
|/
* Merge pull request #1552 from bogdan/selectPiotr Sarnacki2011-06-112-8/+55
|\ | | | | Fixing select[multiple] html specification problem.
| * Fixing select[multiple] html specification problem.Bogdan Gusiev2011-06-082-8/+55
| | | | | | | | Generating hidden input with same name before each multiple select
* | No need for a configuration option here.José Valim2011-06-111-10/+2
| |
* | Merge pull request #549 from dlee/utf8_enforcerJosé Valim2011-06-115-10/+21
|\ \ | | | | | | Utf8 enforcer param customization
| * | Remove utf8_enforcer_param config optionDavid Lee2011-06-113-24/+0
| | |
| * | Make utf8_enforcer_tag an overrideable methodDavid Lee2011-06-111-3/+7
| | |
| * | Make utf8 enforcer param customizeableDavid Lee2011-06-115-5/+36
| | |
| * | There are no snowmen hereDavid Lee2011-06-113-7/+7
| | |