aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* compare sorted arrays in relations_testRaimonds Simanovskis2010-06-041-1/+1
| | | Oracle does not guarantee that SELECT will return records ordered by primary key
* ignore raw_sql_ table alias that is used by Oracle adapterRaimonds Simanovskis2010-06-041-1/+2
|
* fix test_belongs_to_with_primary_key_joins_on_correct_column test on OracleRaimonds Simanovskis2010-06-041-0/+4
|
* Downcase quoted table name in regex in count_aliases_from_table_joinsRaimonds Simanovskis2010-06-041-1/+2
| | | | Oracle adapter's quote_table_name returns quoted table name in uppercase and therefore it should be downcased before scanning downcased join_sql
* Fixed adapter tests not to assert LIMIT and OFFSET in SQL stringsRaimonds Simanovskis2010-06-041-13/+4
| | | | Fixed adapter test cases that were failing in oracle because the asserts were looking for the presence of offset and limit which are not available in oracle. Changed the tests to check that the sql injection is not present in the output so that the tests are database adapter agnostic.
* ignore selects from data dictionary views when running tests on OracleRaimonds Simanovskis2010-06-041-1/+1
|
* fix conditions when DateTime#to_date and DateTime#xmlschema methods are definedRaimonds Simanovskis2010-06-043-6/+6
|
* assert log output match in case insensitive mode to avoid failure when ↵Raimonds Simanovskis2010-06-041-2/+2
| | | | quoted table name is in uppercase (when using Oracle)
* downcase table names in aliased_table_name_for and ↵Raimonds Simanovskis2010-06-041-2/+4
| | | | references_eager_loaded_tables? methods (as Oracle quoted table names are in uppercase)
* test fixes for Oracle enhanced adapter:Raimonds Simanovskis2010-06-042-3/+3
| | | | | latest oracle_enhanced adapter does automatic shortening of index names ignore select from all_triggers table in assert_queries
* do order by id when finding first fixture to ensure that it is correct oneRaimonds Simanovskis2010-06-041-1/+1
| | | | (as otherwise was failing under JRuby and oracle_enhanced adapter)
* Oracle enhanced adapter now supports shortening of default generated index ↵Raimonds Simanovskis2010-06-041-12/+10
| | | | names, some additional tests now pass
* Reduced size of table name prefix and suffix in migrations test as in Oracle ↵Raimonds Simanovskis2010-06-041-3/+4
| | | | identifier name cannot be larger than 30 characters
* Explicitly set Topic model last_read attribute as Date value when Oracle ↵Raimonds Simanovskis2010-06-042-3/+10
| | | | | | enhanced adapter is used (otherwise some tests are failing which assume that this attribute will have Date value)
* create DateTime value with local offset as later it is compared to Time ↵Raimonds Simanovskis2010-06-041-1/+3
| | | | | | value with local offset (otherwise test is failing for oracle_enhanced JDBC adapter)
* Updating guides to new rails initialization processMikel Lindsaar2010-06-044-7/+7
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Changing command line API from 'rails blog' to 'rails new blog'.Mikel Lindsaar2010-06-044-5/+15
| | | | | | | | | | Also removed the limitation of not being able to call your new server any of the rails commands (generate, server, dbconsole, console etc) as there is no longer any ambiguity here. http://rails.lighthouseapp.com/projects/8994/tickets/4665 Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Properly cache association_collection#scopes calls having argumentsPratik Naik2010-06-043-1/+16
|
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-021-2/+1
|\
| * Add an asset_host accessor for consistency.José Valim2010-06-021-2/+1
| |
* | Missed the extractionDavid Heinemeier Hansson2010-06-021-0/+9
|/
* Extract assets paths and make them available to Action Mailer as wellDavid Heinemeier Hansson2010-06-024-1/+13
|
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-0225-58/+133
|\
| * Changes made while working on upgrading cells to Rails 3wycats2010-06-025-4/+8
| |
| * Merge branch 'master' of github.com:rails/railswycats2010-06-0241-104/+316
| |\
| | * Special treatement for Relation#select { with block }Pratik Naik2010-06-022-1/+19
| | |
| | * Configure generators before invoking.José Valim2010-06-021-0/+1
| | |
| | * Still copy application configuration to generator even if they are required ↵José Valim2010-06-025-16/+13
| | | | | | | | | | | | earlier. Also tidy up the guide a little bit.
| | * Merge remote branch 'docrails/master'Xavier Noria2010-06-025-13/+42
| | |\
| | | * AS guide: documents String#truncateXavier Noria2010-06-021-0/+33
| | | |
| | | * AR validations & callbacks: update callbacks listeparreno2010-05-311-9/+5
| | | |
| | | * add <%= to fields_for exampleseparreno2010-05-283-4/+4
| | | |
| | * | revises the documentation of String#truncate and the truncate helperXavier Noria2010-06-022-22/+18
| | | |
| | * | Add lib to load paths when application is inherited to be able to load lib ↵José Valim2010-06-023-1/+29
| | | | | | | | | | | | | | | | code during configuration.
| * | | Update CHANGELOGwycats2010-05-302-1/+3
| | | |
* | | | You need the ruby-debug available in your Gemfile for debugger to workDavid Heinemeier Hansson2010-06-022-1/+4
| |/ / |/| |
* | | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-0114-21/+44
|\ \ \
| * | | revises rdoc of AMo::Error#add [#4738 state:resolved]Xavier Noria2010-06-011-6/+6
| | | |
| * | | Unforce text-format from AMSantiago Pastorino2010-06-014-7/+10
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | Unforce memcache from ASSantiago Pastorino2010-06-013-3/+9
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | Unforce builder from ASSantiago Pastorino2010-06-016-3/+10
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * | | Unforce tzinfo from ASSantiago Pastorino2010-06-014-2/+9
| | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | | Extracted String#truncate from TextHelper#truncate [DHH]David Heinemeier Hansson2010-06-014-11/+69
|/ / /
* | | Base options cant live in lazy loaded helpers as they then wont be available ↵David Heinemeier Hansson2010-05-312-7/+4
| | | | | | | | | | | | to set for config
* | | Unforce i18n from ASSantiago Pastorino2010-05-316-6/+19
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | rack-test version updated and removed from GemfileSantiago Pastorino2010-05-312-2/+1
| | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | | Add :only and :except to controllers MiddlewareStack. This allowsJosé Valim2010-05-303-18/+71
|/ / | | | | | | | | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
* | Update template to allow handlers to more cleanly handle encodings (ht: nex3)wycats2010-05-304-69/+78
| |
* | Remove the laziness from the middleware stack.José Valim2010-05-299-106/+51
| |
* | Now that we always return a proxy from mb_chars, even in 1.9, all Strings ↵wycats2010-05-291-3/+5
| | | | | | | | coming back from AS are UTF-8.