aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* adds calendar reform test coverage for more relevant date calculationsXavier Noria2010-05-091-1/+14
|
* eliminate alias_method_chain from ActiveRecordwycats2010-05-0916-542/+514
|
* Backports Date#>> from 1.9 so that calculations do the right thing around ↵Xavier Noria2010-05-093-0/+47
| | | | | | | | | | the calendar reform Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9.
* removed AR from all AMo tests, including any unneeded files (schema, ↵Josh Kalderimis2010-05-0918-128/+12
| | | | fixtures and test helper)
* removed an old unused model in the AMo tests which also removes another AR ↵Josh Kalderimis2010-05-099-14/+0
| | | | dependency
* updated AR to work with the AMo model validation changesJosh Kalderimis2010-05-082-2/+6
|
* removed use of AR in AMo tests and removed testing of scopes (:on) in ↵Josh Kalderimis2010-05-0814-289/+240
| | | | individual validation tests and moved them to their own test file
* updated AMo validations to use a context for valid? and invalid?, removing ↵Josh Kalderimis2010-05-081-5/+12
| | | | the dependency on AR
* Here the intention was to assign to different objectsSantiago Pastorino2010-05-081-1/+1
|
* add test coverage for (last|next)_year on leap yearsXavier Noria2010-05-081-0/+8
|
* get the rescue error page back [#4536 state:resolved]Sam Ruby2010-05-081-1/+1
|
* Revert "Add index length support for MySQL [#1852 state:open]"José Valim2010-05-087-73/+3
| | | | | | | | | | | | | This commit breaks dumping a few tables, as the sessions table. To reproduce, just create a new application and: rake db:sessions:create rake db:migrate rake db:test:prepare And then look at the db/schema.rb file (ht: Sam Ruby). This reverts commit 5b95730edc33ee97f53da26a3868eb983305a771.
* Add index length support for MySQL [#1852 state:resolved]Emili Parreno2010-05-087-3/+73
| | | | | | | | | | | | Example: add_index(:accounts, :name, :name => 'by_name', :length => 10) => CREATE INDEX by_name ON accounts(name(10)) add_index(:accounts, [:name, :surname], :name => 'by_name_surname', :length => {:name => 10, :surname => 15}) => CREATE INDEX by_name_surname ON accounts(name(10), surname(15)) Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make find_or_create and find_or_initialize work mixing explicit parameters ↵Santiago Pastorino2010-05-073-10/+32
| | | | | | and a hash [#4457 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix parsing xml input by ActionDispatch::ParamsParserLawrence Pit2010-05-062-1/+14
| | | | | | [#4437 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix unintuitive behavior with multiple order and group clausesErnie Miller2010-05-064-8/+19
| | | | | | [#4545 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Expand paths to app builders relative to the working directoryCarl Lerche2010-05-062-1/+12
|
* Prevent calling regexp on symbol in Ruby 1.9 in association_proxyErnie Miller2010-05-051-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Update hidden namespace mechanism to work better with alternate choices and ↵wycats2010-05-051-4/+42
| | | | to support full namespaces (not just entire groups)
* adds Date#to_time refinement from previous commit to the CHANGELOGXavier Noria2010-05-051-0/+2
|
* add support for mysql2 adapter to dbconsoleBrian Lopez2010-05-041-2/+2
| | | | | | [#4532 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* let Time.time_with_datetime_fallback handle properly years in the range 0..138Xavier Noria2010-05-055-4/+30
|
* Use primary key in conditions, not 'id' [#4395 state:resolved]Mathieu Arnold2010-05-042-1/+26
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Active Model JSON serializer now supports custom root optionJatinder Singh2010-05-043-1/+26
| | | | | | [#4515 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allow pre-casted values (other than nil) to pass through from calculations ↵Brian Lopez2010-05-041-5/+9
| | | | | | | | un-touched [#4514 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* image_tag should be audio_tag, and change typo 'image' to 'audio file'Josiah Ivey2010-05-041-2/+2
|
* typo "<image />" -> "<img />", and typo 'follow' -> 'following'mica eked2010-05-041-2/+2
|
* typo 'main.cs' -> 'main.css', and textile typo 'h6(:has_many-group)' -> ↵logylaps2010-05-043-3/+3
| | | | 'h6(#has_many-group)', and typo. missing 'if'
* grammatical error 'uses' -> 'use'Joe Hannon2010-05-041-1/+1
|
* Cleaning up Action Mailer spelling with and without the spaceMikel Lindsaar2010-05-042-7/+7
|
* Adding more docs to ActionMailerMikel Lindsaar2010-05-041-12/+50
|
* Use class_inheritable_accessor for connection_handlerPratik Naik2010-05-041-3/+3
|
* date/conversions needs time/calculations for (utc|local)_timeXavier Noria2010-05-031-0/+1
|
* BigDecimal#as_json does not really specify the F format, it delegates that ↵Xavier Noria2010-05-031-1/+3
| | | | to whatever BigDecimal#to_s default format is, do the same in its test
* adds a comment explaining why BigDecimal#as_json returns a JSON stringXavier Noria2010-05-031-1/+9
|
* fixes colon in previous YAML exampleXavier Noria2010-05-031-1/+1
|
* Fix transliteration rule example in docs. [#4526 state:resolved]Norman Clarke2010-05-031-2/+3
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* move assert_template tests to their own test case [#4501 state:resolved]David Chelimsky2010-05-031-41/+46
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Eliminate false positives when passing symbols to assert_templateDavid Chelimsky2010-05-032-5/+27
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update I18n gem to 0.4.0.beta1 [#4525 state:resolved].José Valim2010-05-031-1/+1
|
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax ↵Lawrence Pit2010-05-0316-65/+65
| | | | | | for I18n Signed-off-by: José Valim <jose.valim@gmail.com>
* Make backtrace_cleaner work as expected. Prior to this patch, the Full Trace ↵José Valim2010-05-032-38/+17
| | | | rarely showed the full trace. Also, increase performance considerably.
* adds test coverage for Date.current vs Date.today in ↵Xavier Noria2010-05-031-1/+45
| | | | Date.(yesterday|tomorrow) implementation
* add NullResolverDavid Chelimsky2010-05-022-0/+20
| | | | | | [#4523 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* add tests for FixtureResolverDavid Chelimsky2010-05-021-0/+18
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* move FixtureResolver to a file that is accessible outside Rails' own testsDavid Chelimsky2010-05-023-5/+9
| | | | | | [#4522 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Event should be aware if yielded block failed or not.José Valim2010-05-022-3/+7
|
* Change event namespace ordering to most-significant first [#4504 state:resolved]Justin George2010-05-0215-34/+34
| | | | | | | | | More work still needs to be done on some of these names (render_template.action_view and render_template!.action_view particularly) but this allows (for example) /^sql/ to subscribe to all the various ORMs without further modification Signed-off-by: José Valim <jose.valim@gmail.com>
* Make notifications go off even when an error is raised, so that we capture ↵Justin George2010-05-022-5/+9
| | | | | | | | | | | | | | the underlying performance data [#4505 state:resolved] This is important when trying to keep track of many layers of interrelated calls i.e.: ActiveRecord::Base.transaction do MyModel.find(1) #ActiveRecord::NotFound end # should capture the full time until the error propagation Signed-off-by: José Valim <jose.valim@gmail.com>
* Missing require added make pass activesupport/test/json/encoding_test.rb in ↵Santiago Pastorino2010-05-021-0/+1
| | | | | | isolation Signed-off-by: Xavier Noria <fxn@hashref.com>