aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ActiveRecord::Base.scopes hash is not neededJon Leighton2011-04-123-29/+4
|
* Evaluate default scopes at the last possible moment in order to avoid ↵Jon Leighton2011-04-1210-33/+67
| | | | problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped.
* Deprecated support for passing hashes and relations to default_scope, in ↵Jon Leighton2011-04-1217-172/+410
| | | | favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details.
* Removing the scope-caching which happens on association proxies, because the ↵Jon Leighton2011-04-123-24/+15
| | | | query is already cached by the query cacher. For formalised proof see http://www.youtube.com/watch?v=wDefXLb-FDs
* Update test name to the corresponding method nameSebastian Martinez2011-04-121-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-04-1210-26/+65
|\
| * Update guides reflecting that scaffold_controller generator generates now ↵Sebastian Martinez2011-04-111-18/+19
| | | | | | | | code for JSON response instead of XML
| * Updated AS guide with new Object#in? and Object#either? methodsSebastian Martinez2011-04-111-0/+22
| |
| * Revert "Edited railties/guides/source/active_support_core_extensions.textile ↵Xavier Noria2011-04-121-1/+1
| | | | | | | | | | | | | | | | | | via GitHub" Reason: The original sentence is correct. Please note the guide covers the stable version of Active Support. This reverts commit 5265650d51713a883e6cacde8f6faf52708abc1b.
| * Edited railties/guides/source/active_support_core_extensions.textile via GitHubOge Nnadi2011-04-111-1/+1
| |
| * Added missing </tt>Oge Nnadi2011-04-111-1/+1
| |
| * Edited README.rdoc via GitHubOge Nnadi2011-04-111-1/+1
| |
| * RewordingOge Nnadi2011-04-111-1/+1
| |
| * removed :nodoc: from ActionController::MimeRespondsJo Liss2011-04-101-2/+2
| | | | | | | | | | So we don't miss out on the nice documentation of the respond_to and respond_with instance methods. Also added :nodoc: to protected method.
| * fix example queryVijay Dev2011-04-061-1/+1
| |
| * Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-04-062-1/+17
| |\
| | * Merge branch 'master' of github.com:lifo/docrailsRyan Bigg2011-04-0586-244/+987
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of github.com:lifo/docrails: (57 commits) Made the defaults section a little more readable and more to the point, giving a overview of the possibilities. Added information about default values added .'s to headings in the initialization textile page s/ERb/ERB/g (part II) s/ERb/ERB/g Bump up erubis to 2.7.0 Implicit actions named not_implemented can be rendered Gem::Specification#has_rdoc= is deprecated since rubygems 1.7.0 default_executable is deprecated since rubygems 1.7.0 Trivial fix to HTTP Digest auth MD5 example Moved Turn activation/dependency to railties fix typo Direct logging of Active Record to STDOUT so it's shown inline with the results in the console [DHH] Add using Turn with natural language test case names if the library is available (which it will be in Rails 3.1) [DHH] require turn only for minitest Use Turn to format all Rails tests and enable the natural language case names Improve docs. pass respond_with options to controller render when using a template for api navigation only try to display an api template in responders if the request is a get or there are no errors when using respond_with with an invalid resource and custom options, the default response status and error messages should be returned ...
| | | * Made the defaults section a little more readable and more to the point, ↵simply-phi2011-04-041-71/+3
| | | | | | | | | | | | | | | | giving a overview of the possibilities.
| | | * Added information about default valuessimply-phi2011-04-041-0/+81
| | | |
| | * | Correct documentation on url_for. It doesn't call to_s, but rather to_paramRyan Bigg2011-04-051-1/+4
| | | |
| * | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-04-0485-235/+964
| |\ \ \ | | | |/ | | |/|
| * | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-03-3110-67/+85
| |\ \ \
| * \ \ \ Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-03-2935-104/+331
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-03-271-2/+2
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-03-27115-656/+2115
| |\ \ \ \ \ \
| * | | | | | | remove to from to to :)Vijay Dev2011-03-161-1/+1
| | | | | | | |
* | | | | | | | stop using deprecated methods in arelAaron Patterson2011-04-111-2/+2
| | | | | | | |
* | | | | | | | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-1238-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suggestion!
* | | | | | | | remove so many nested if statementsAaron Patterson2011-04-111-9/+11
| | | | | | | |
* | | | | | | | wrap the pg_get_serial_sequence function and reuse it for the default ↵Aaron Patterson2011-04-112-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sequence name
* | | | | | | | cache table exists queries in prepared statement cacheAaron Patterson2011-04-111-3/+6
| | | | | | | |
* | | | | | | | only use the primary_key method, refactor schema and table name parsingAaron Patterson2011-04-111-13/+15
| | | | | | | |
* | | | | | | | use prepared statements for primary key queriesAaron Patterson2011-04-111-2/+15
| | | | | | | |
* | | | | | | | last insert id can never be called, so remove that code pathAaron Patterson2011-04-111-11/+3
| | | | | | | |
* | | | | | | | we know the table and pk, so we can calculate a default sequence nameAaron Patterson2011-04-111-3/+4
| | | | | | | |
* | | | | | | | always look up pk and sequence unless both are providedAaron Patterson2011-04-111-6/+5
| | | | | | | |
* | | | | | | | pg does not know the insert_id in advance, so super will never return trueAaron Patterson2011-04-111-13/+10
| | | | | | | |
* | | | | | | | updating the docco for ActiveRecord::ResultAaron Patterson2011-04-111-2/+2
| | | | | | | |
* | | | | | | | implement exec_query on mysql2 adapterAaron Patterson2011-04-111-2/+20
| | | | | | | |
* | | | | | | | make sqlite insert_sql more consistent with other adaptersAaron Patterson2011-04-111-1/+2
| | | | | | | |
* | | | | | | | adding exec_insert for postgresqlAaron Patterson2011-04-113-1/+43
| | | | | | | |
* | | | | | | | fixing variable name in mysql testAaron Patterson2011-04-111-1/+1
| | | | | | | |
* | | | | | | | properly name schema queries for the loggerAaron Patterson2011-04-111-10/+10
| | | | | | | |
* | | | | | | | adding mysql adapter test caseAaron Patterson2011-04-111-0/+69
| | | | | | | |
* | | | | | | | adding client_encoding method for discovering the encoding set for this ↵Aaron Patterson2011-04-111-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client, testing exec_insert on a string
* | | | | | | | properly name schema queries for loggingAaron Patterson2011-04-111-3/+3
| | | | | | | |
* | | | | | | | adding exec_insert to sqlite3Aaron Patterson2011-04-112-0/+16
| | | | | | | |
* | | | | | | | adding a case_sensitive_modifier for forcing comparisons to be case sensitiveAaron Patterson2011-04-114-0/+15
| | | | | | | |
* | | | | | | | only support pg >= 8.2, so no need to checkAaron Patterson2011-04-111-7/+4
| | | | | | | |
* | | | | | | | Remove code duplication.José Valim2011-04-113-20/+27
| | | | | | | |