Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | Add sprockets environment to Application | Joshua Peek | 2011-03-21 | 1 | -0/+34 | |
| | | | | | ||||||
* | | | | | common @jonleighton :bomb: | Aaron Patterson | 2011-04-12 | 1 | -2/+1 | |
| |_|_|/ |/| | | | ||||||
* | | | | Deprecate defining scopes with a callable (lambda, proc, etc) via the scope ↵ | Jon Leighton | 2011-04-12 | 6 | -23/+116 | |
| | | | | | | | | | | | | | | | | class method. Just define a class method yourself instead. | |||||
* | | | | ActiveRecord::Base.scopes hash is not needed | Jon Leighton | 2011-04-12 | 3 | -29/+4 | |
| | | | | ||||||
* | | | | Evaluate default scopes at the last possible moment in order to avoid ↵ | Jon Leighton | 2011-04-12 | 10 | -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 Leighton | 2011-04-12 | 17 | -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 Leighton | 2011-04-12 | 3 | -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 name | Sebastian Martinez | 2011-04-12 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-12 | 10 | -26/+65 | |
|\ \ \ \ | ||||||
| * | | | | Update guides reflecting that scaffold_controller generator generates now ↵ | Sebastian Martinez | 2011-04-11 | 1 | -18/+19 | |
| | | | | | | | | | | | | | | | | | | | | code for JSON response instead of XML | |||||
| * | | | | Updated AS guide with new Object#in? and Object#either? methods | Sebastian Martinez | 2011-04-11 | 1 | -0/+22 | |
| | | | | | ||||||
| * | | | | Revert "Edited railties/guides/source/active_support_core_extensions.textile ↵ | Xavier Noria | 2011-04-12 | 1 | -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 GitHub | Oge Nnadi | 2011-04-11 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Added missing </tt> | Oge Nnadi | 2011-04-11 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Edited README.rdoc via GitHub | Oge Nnadi | 2011-04-11 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Rewording | Oge Nnadi | 2011-04-11 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | removed :nodoc: from ActionController::MimeResponds | Jo Liss | 2011-04-10 | 1 | -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 query | Vijay Dev | 2011-04-06 | 1 | -1/+1 | |
| | | | | | ||||||
| * | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-04-06 | 2 | -1/+17 | |
| |\ \ \ \ | ||||||
| | * \ \ \ | Merge branch 'master' of github.com:lifo/docrails | Ryan Bigg | 2011-04-05 | 86 | -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-phi | 2011-04-04 | 1 | -71/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | giving a overview of the possibilities. | |||||
| | | * | | | | Added information about default values | simply-phi | 2011-04-04 | 1 | -0/+81 | |
| | | | | | | | ||||||
| | * | | | | | Correct documentation on url_for. It doesn't call to_s, but rather to_param | Ryan Bigg | 2011-04-05 | 1 | -1/+4 | |
| | | | | | | | ||||||
| * | | | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-04-04 | 85 | -235/+964 | |
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | ||||||
| * | | | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-03-31 | 10 | -67/+85 | |
| |\ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-03-29 | 35 | -104/+331 | |
| |\ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-03-27 | 1 | -2/+2 | |
| |\ \ \ \ \ \ \ \ | ||||||
| * \ \ \ \ \ \ \ \ | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-03-27 | 115 | -656/+2115 | |
| |\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | remove to from to to :) | Vijay Dev | 2011-03-16 | 1 | -1/+1 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | stop using deprecated methods in arel | Aaron Patterson | 2011-04-11 | 1 | -2/+2 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵ | David Heinemeier Hansson | 2011-04-12 | 38 | -44/+44 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suggestion! | |||||
* | | | | | | | | | | | remove so many nested if statements | Aaron Patterson | 2011-04-11 | 1 | -9/+11 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | wrap the pg_get_serial_sequence function and reuse it for the default ↵ | Aaron Patterson | 2011-04-11 | 2 | -2/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sequence name | |||||
* | | | | | | | | | | | cache table exists queries in prepared statement cache | Aaron Patterson | 2011-04-11 | 1 | -3/+6 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | only use the primary_key method, refactor schema and table name parsing | Aaron Patterson | 2011-04-11 | 1 | -13/+15 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | use prepared statements for primary key queries | Aaron Patterson | 2011-04-11 | 1 | -2/+15 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | last insert id can never be called, so remove that code path | Aaron Patterson | 2011-04-11 | 1 | -11/+3 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | we know the table and pk, so we can calculate a default sequence name | Aaron Patterson | 2011-04-11 | 1 | -3/+4 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | always look up pk and sequence unless both are provided | Aaron Patterson | 2011-04-11 | 1 | -6/+5 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | pg does not know the insert_id in advance, so super will never return true | Aaron Patterson | 2011-04-11 | 1 | -13/+10 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | updating the docco for ActiveRecord::Result | Aaron Patterson | 2011-04-11 | 1 | -2/+2 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | implement exec_query on mysql2 adapter | Aaron Patterson | 2011-04-11 | 1 | -2/+20 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | make sqlite insert_sql more consistent with other adapters | Aaron Patterson | 2011-04-11 | 1 | -1/+2 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | adding exec_insert for postgresql | Aaron Patterson | 2011-04-11 | 3 | -1/+43 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | fixing variable name in mysql test | Aaron Patterson | 2011-04-11 | 1 | -1/+1 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | properly name schema queries for the logger | Aaron Patterson | 2011-04-11 | 1 | -10/+10 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | adding mysql adapter test case | Aaron Patterson | 2011-04-11 | 1 | -0/+69 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | adding client_encoding method for discovering the encoding set for this ↵ | Aaron Patterson | 2011-04-11 | 1 | -0/+62 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client, testing exec_insert on a string | |||||
* | | | | | | | | | | | properly name schema queries for logging | Aaron Patterson | 2011-04-11 | 1 | -3/+3 | |
| | | | | | | | | | | | ||||||
* | | | | | | | | | | | adding exec_insert to sqlite3 | Aaron Patterson | 2011-04-11 | 2 | -0/+16 | |
| | | | | | | | | | | |