Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adds calendar reform test coverage for more relevant date calculations | Xavier Noria | 2010-05-09 | 1 | -1/+14 |
| | |||||
* | eliminate alias_method_chain from ActiveRecord | wycats | 2010-05-09 | 16 | -542/+514 |
| | |||||
* | Backports Date#>> from 1.9 so that calculations do the right thing around ↵ | Xavier Noria | 2010-05-09 | 3 | -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 Kalderimis | 2010-05-09 | 18 | -128/+12 |
| | | | | fixtures and test helper) | ||||
* | removed an old unused model in the AMo tests which also removes another AR ↵ | Josh Kalderimis | 2010-05-09 | 9 | -14/+0 |
| | | | | dependency | ||||
* | updated AR to work with the AMo model validation changes | Josh Kalderimis | 2010-05-08 | 2 | -2/+6 |
| | |||||
* | removed use of AR in AMo tests and removed testing of scopes (:on) in ↵ | Josh Kalderimis | 2010-05-08 | 14 | -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 Kalderimis | 2010-05-08 | 1 | -5/+12 |
| | | | | the dependency on AR | ||||
* | Here the intention was to assign to different objects | Santiago Pastorino | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | add test coverage for (last|next)_year on leap years | Xavier Noria | 2010-05-08 | 1 | -0/+8 |
| | |||||
* | get the rescue error page back [#4536 state:resolved] | Sam Ruby | 2010-05-08 | 1 | -1/+1 |
| | |||||
* | Revert "Add index length support for MySQL [#1852 state:open]" | José Valim | 2010-05-08 | 7 | -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 Parreno | 2010-05-08 | 7 | -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 Pastorino | 2010-05-07 | 3 | -10/+32 |
| | | | | | | and a hash [#4457 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix parsing xml input by ActionDispatch::ParamsParser | Lawrence Pit | 2010-05-06 | 2 | -1/+14 |
| | | | | | | [#4437 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix unintuitive behavior with multiple order and group clauses | Ernie Miller | 2010-05-06 | 4 | -8/+19 |
| | | | | | | [#4545 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Expand paths to app builders relative to the working directory | Carl Lerche | 2010-05-06 | 2 | -1/+12 |
| | |||||
* | Prevent calling regexp on symbol in Ruby 1.9 in association_proxy | Ernie Miller | 2010-05-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Update hidden namespace mechanism to work better with alternate choices and ↵ | wycats | 2010-05-05 | 1 | -4/+42 |
| | | | | to support full namespaces (not just entire groups) | ||||
* | adds Date#to_time refinement from previous commit to the CHANGELOG | Xavier Noria | 2010-05-05 | 1 | -0/+2 |
| | |||||
* | add support for mysql2 adapter to dbconsole | Brian Lopez | 2010-05-04 | 1 | -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..138 | Xavier Noria | 2010-05-05 | 5 | -4/+30 |
| | |||||
* | Use primary key in conditions, not 'id' [#4395 state:resolved] | Mathieu Arnold | 2010-05-04 | 2 | -1/+26 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Active Model JSON serializer now supports custom root option | Jatinder Singh | 2010-05-04 | 3 | -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 Lopez | 2010-05-04 | 1 | -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 Ivey | 2010-05-04 | 1 | -2/+2 |
| | |||||
* | typo "<image />" -> "<img />", and typo 'follow' -> 'following' | mica eked | 2010-05-04 | 1 | -2/+2 |
| | |||||
* | typo 'main.cs' -> 'main.css', and textile typo 'h6(:has_many-group)' -> ↵ | logylaps | 2010-05-04 | 3 | -3/+3 |
| | | | | 'h6(#has_many-group)', and typo. missing 'if' | ||||
* | grammatical error 'uses' -> 'use' | Joe Hannon | 2010-05-04 | 1 | -1/+1 |
| | |||||
* | Cleaning up Action Mailer spelling with and without the space | Mikel Lindsaar | 2010-05-04 | 2 | -7/+7 |
| | |||||
* | Adding more docs to ActionMailer | Mikel Lindsaar | 2010-05-04 | 1 | -12/+50 |
| | |||||
* | Use class_inheritable_accessor for connection_handler | Pratik Naik | 2010-05-04 | 1 | -3/+3 |
| | |||||
* | date/conversions needs time/calculations for (utc|local)_time | Xavier Noria | 2010-05-03 | 1 | -0/+1 |
| | |||||
* | BigDecimal#as_json does not really specify the F format, it delegates that ↵ | Xavier Noria | 2010-05-03 | 1 | -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 string | Xavier Noria | 2010-05-03 | 1 | -1/+9 |
| | |||||
* | fixes colon in previous YAML example | Xavier Noria | 2010-05-03 | 1 | -1/+1 |
| | |||||
* | Fix transliteration rule example in docs. [#4526 state:resolved] | Norman Clarke | 2010-05-03 | 1 | -2/+3 |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | move assert_template tests to their own test case [#4501 state:resolved] | David Chelimsky | 2010-05-03 | 1 | -41/+46 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Eliminate false positives when passing symbols to assert_template | David Chelimsky | 2010-05-03 | 2 | -5/+27 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Update I18n gem to 0.4.0.beta1 [#4525 state:resolved]. | José Valim | 2010-05-03 | 1 | -1/+1 |
| | |||||
* | Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax ↵ | Lawrence Pit | 2010-05-03 | 16 | -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é Valim | 2010-05-03 | 2 | -38/+17 |
| | | | | rarely showed the full trace. Also, increase performance considerably. | ||||
* | adds test coverage for Date.current vs Date.today in ↵ | Xavier Noria | 2010-05-03 | 1 | -1/+45 |
| | | | | Date.(yesterday|tomorrow) implementation | ||||
* | add NullResolver | David Chelimsky | 2010-05-02 | 2 | -0/+20 |
| | | | | | | [#4523 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | add tests for FixtureResolver | David Chelimsky | 2010-05-02 | 1 | -0/+18 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | move FixtureResolver to a file that is accessible outside Rails' own tests | David Chelimsky | 2010-05-02 | 3 | -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é Valim | 2010-05-02 | 2 | -3/+7 |
| | |||||
* | Change event namespace ordering to most-significant first [#4504 state:resolved] | Justin George | 2010-05-02 | 15 | -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 George | 2010-05-02 | 2 | -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 Pastorino | 2010-05-02 | 1 | -0/+1 |
| | | | | | | isolation Signed-off-by: Xavier Noria <fxn@hashref.com> |