aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use arel instead of sql stringsPratik Naik2010-05-111-6/+5
|
* Succint save definitionPratik Naik2010-05-111-4/+2
|
* corrected error message in session/cookie_store [#4546 state:resolved]Josh Kalderimis2010-05-101-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make sure valid? preceives the context as in ActiveModel API (ht: Carlos ↵José Valim2010-05-104-26/+45
| | | | Antonio)
* Make sure schema dumper doesnt throw up when there are no index lengthsPratik Naik2010-05-091-1/+3
|
* Revert "Revert "Add index length support for MySQL [#1852 state:open]""Pratik Naik2010-05-097-3/+73
| | | | This reverts commit 6626833db13a69786f9f6cd56b9f53c4017c3e39.
* Improve code from 231d7676f72947bae765b9bd885b134aaf949921Pratik Naik2010-05-091-7/+5
|
* corrected AR find_each and find_in_batches to raise when the user uses ↵Josh Kalderimis2010-05-092-1/+22
| | | | | | select but does not specify the primary key Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge branch 'master' of github.com:rails/railsJosé Valim2010-05-097-6/+123
|\
| * Merge remote branch 'rails/master'Xavier Noria2010-05-0966-1013/+1065
| |\
| | * aliases Date#sunday to Date#end_of_week, for symmetry with existing alias ↵Xavier Noria2010-05-092-0/+3
| | | | | | | | | | | | Date#monday -> Date#beginning_of_week
| * | AS guide: more date calculation utilitiesXavier Noria2010-05-091-1/+59
| | |
| * | AS guide: you know, the 10th is not NovemberXavier Noria2010-05-091-1/+1
| | |
| * | AS guide: adds a catchall note about date calculations around the calendar ↵Xavier Noria2010-05-091-0/+2
| | | | | | | | | | | | reform
| * | Updates bundler information, now bundler has a homepageSantiago Pastorino2010-05-081-1/+1
| | |
| * | AS guide: documents some Date calculations (calendar reform details pending)Xavier Noria2010-05-091-2/+49
| | |
| * | migration, correct file and created a code sample out of it.Rohit Arondekar2010-05-071-1/+5
| | |
| * | Migrations, rewrote a sentence for clarity.Rohit Arondekar2010-05-061-1/+1
| | |
| * | Updated guide to inform issues with unsupported Ruby versions.Anil Wadghule2010-05-061-0/+3
| | |
| * | typo 'Provivdes' -> 'Provides'Santiago Pastorino2010-05-051-1/+1
| | |
| * | Merge remote branch 'rails/master'Xavier Noria2010-05-0461-248/+412
| |\ \
| * | | Change typo 'image' to 'audio file'Josiah Ivey2010-05-041-1/+1
| | | |
| * | | image_tag should be audio_tagJosiah Ivey2010-05-041-1/+1
| | | |
| * | | typo 'follow' -> 'following'mica eked2010-05-041-1/+1
| | | |
| * | | typo "<image />" -> "<img />"mica eked2010-05-041-1/+1
| | | |
| * | | typo. missing 'if'logylaps2010-05-041-1/+1
| | | |
| * | | textile typo 'h6(:has_many-group)' -> 'h6(#has_many-group)'logylaps2010-05-041-1/+1
| | | |
| * | | typo 'main.cs' -> 'main.css'logylaps2010-05-041-1/+1
| | | |
| * | | grammatical error 'uses' -> 'use'Joe Hannon2010-05-021-1/+1
| | | |
| * | | Cleaning up Action Mailer spelling with and without the spaceMikel Lindsaar2010-05-022-7/+7
| | | |
| * | | Adding more docs to ActionMailerMikel Lindsaar2010-05-021-12/+50
| | | |
* | | | Use annoted source code in Template:Error to avoid special cases in the show ↵José Valim2010-05-093-11/+7
| |_|/ |/| | | | | | | | exceptions middleware.
* | | 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>