Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | Merge branch 'multiple-transactional-fixture-connections' | Jeremy Kemper | 2011-10-05 | 7 | -10/+61 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Transactional fixtures enlist all active database connections. | Jeremy Kemper | 2011-10-05 | 7 | -10/+61 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can use multiple databases in your tests without disabling transactional fixtures. | |||||
* | | | | | | | | | | Revert "don't raise NoMethodError the tried method doesn't exists" | José Valim | 2011-10-06 | 2 | -3/+1 | |
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 29a5aeaae976bf8432d57ec996c7c81932a39de6. | |||||
* | | | | | | | | | Raise an exception on unknown primary key inside AssociationReflection. | Jon Leighton | 2011-10-05 | 3 | -4/+36 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An association between two models cannot be made if a relevant key is unknown, so fail fast rather than generating invalid SQL. Fixes #3207. | |||||
* | | | | | | | | | Revert "Raise error on unknown primary key." | Jon Leighton | 2011-10-05 | 12 | -54/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ee2be435b1e5c0e94a4ee93a1a310e0471a77d07. | |||||
* | | | | | | | | | stylesheet_link_tag('/stylesheets/application') and similar helpers doesn't ↵ | Santiago Pastorino | 2011-10-05 | 2 | -0/+7 | |
| |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | throw Sprockets::FileOutsidePaths exception anymore | |||||
* | | | | | | | | Do not require railtie as it messes up Rails.application setup. | José Valim | 2011-10-05 | 1 | -2/+1 | |
| |_|/ / / / / |/| | | | | | | ||||||
* | | | | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-10-05 | 10 | -191/+241 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | copy editing | Vijay Dev | 2011-10-05 | 3 | -9/+6 | |
| | |/ / / / / | |/| | | | | | ||||||
| * | | | | | | Merge branch 'master' of github.com:lifo/docrails | Manuel Menezes de Sequeira | 2011-10-05 | 2 | -4/+4 | |
| |\ \ \ \ \ \ | ||||||
| | * | | | | | | Corrections to Active Record Validations and Callbacks guide. | Hendy Tanata | 2011-10-05 | 1 | -3/+3 | |
| | | | | | | | | ||||||
| | * | | | | | | Merge branch 'master' of github.com:lifo/docrails | Robert Ross | 2011-10-04 | 1 | -0/+36 | |
| | |\ \ \ \ \ \ | ||||||
| | * | | | | | | | Change one more place for JSON string to Hash | Robert Ross | 2011-10-04 | 1 | -1/+1 | |
| | | | | | | | | | ||||||
| | * | | | | | | | Fix as_json doc to say what it actually returns. | Robert Ross | 2011-10-04 | 1 | -1/+1 | |
| | | | | | | | | | ||||||
| * | | | | | | | | s/help/helper/ | Manuel Menezes de Sequeira | 2011-10-05 | 1 | -1/+1 | |
| | |/ / / / / / | |/| | | | | | | ||||||
| * | | | | | | | [engines guide] initial layout | Ryan Bigg | 2011-10-05 | 1 | -0/+36 | |
| |/ / / / / / | ||||||
| * | | | | | | More corrections and clarifications to the Active Record Validations and ↵ | Manuel Menezes de Sequeira | 2011-10-04 | 1 | -39/+52 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Callbacks guide. | |||||
| * | | | | | | Several small corrections and clarifications to the Active Record ↵ | Manuel Menezes de Sequeira | 2011-10-03 | 1 | -16/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validations and Callbacks guide. | |||||
| * | | | | | | Several small corrections and improvements to the Migrations and Active ↵ | Manuel Menezes de Sequeira | 2011-10-03 | 2 | -60/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Record Basics guides. | |||||
| * | | | | | | missed underscore in AV::TestCase helper_method documentation | Alexey Vakhov | 2011-10-03 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Several other small corrections. | Manuel Menezes de Sequeira | 2011-10-01 | 1 | -30/+31 | |
| | | | | | | | ||||||
| * | | | | | | Several small corrections and clarifications. | Manuel Menezes de Sequeira | 2011-10-01 | 1 | -29/+31 | |
| | | | | | | | ||||||
| * | | | | | | Small typo corrected. | Manuel Menezes de Sequeira | 2011-09-30 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | Class name specified in example is Person, not AttributePerson. | Uģis Ozols | 2011-09-29 | 1 | -3/+3 | |
| | | | | | | | ||||||
| * | | | | | | Corrected a typo. | Michael Hutchinson | 2011-09-27 | 1 | -1/+1 | |
| | | | | | | | ||||||
| * | | | | | | Make case in configuration document consistent | Justin Leitgeb | 2011-09-27 | 1 | -9/+9 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #3229 from amatsuda/string_prepend | José Valim | 2011-10-05 | 1 | -11/+13 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | ruby193: String#prepend | |||||
| * | | | | | | | ruby193: String#prepend is also unsafe | Akira Matsuda | 2011-10-05 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| * | | | | | | | override unsafe methods only if defined on String | Akira Matsuda | 2011-10-05 | 1 | -10/+12 | |
| | | | | | | | | ||||||
* | | | | | | | | Fix regression when calling helpers inside sprockets. | José Valim | 2011-10-05 | 5 | -10/+11 | |
|/ / / / / / / | ||||||
* | | | | | | | Fix the lame config.action_controller.present? check scattered throughout ↵ | José Valim | 2011-10-05 | 7 | -30/+32 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb | |||||
* | | | | | | | Raise error on unknown primary key. | Jon Leighton | 2011-10-05 | 12 | -18/+54 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we don't have a primary key when we ask for it, it's better to fail fast. Fixes GH #2307. | |||||
* | | | | | | | Ensure default_asset_host_protocol is respected, closes #2980. | José Valim | 2011-10-05 | 4 | -8/+10 | |
| | | | | | | | ||||||
* | | | | | | | Encapsulate common rake invocation logic in a method. | José Valim | 2011-10-05 | 1 | -17/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | added comment about why nondigest assets requires a reinvocation | Mark J. Titorenko | 2011-10-05 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | only reinvoke if necessary | Mark J. Titorenko | 2011-10-05 | 1 | -2/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | only execute the nondigest task if needed | Mark J. Titorenko | 2011-10-05 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | don't munge the environment, let rake do that for us | Mark J. Titorenko | 2011-10-05 | 1 | -5/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | assets compilation task refactoring | Mark J. Titorenko | 2011-10-05 | 2 | -30/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | Fix failing test added in previous commit. | José Valim | 2011-10-04 | 1 | -4/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | correct path used in "digested assets are not mistakenly removed" test | Mark J. Titorenko | 2011-10-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | add failing test: "digested assets are removed from configured path" | Mark J. Titorenko | 2011-10-04 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | | | | | | | Bump sprockets to 2.0.2 | Santiago Pastorino | 2011-10-04 | 1 | -11/+11 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #3212 from ayrton/master | Santiago Pastorino | 2011-10-04 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | incorrect to_formatted_s example | |||||
| * | | | | | | | to_formatted_s is an instance method for a Range not an Array | Ayrton De Craene | 2011-10-04 | 1 | -1/+1 | |
|/ / / / / / / | ||||||
* | | | | | | | Clean up subdomain code a bit. | José Valim | 2011-10-04 | 1 | -2/+2 | |
| | | | | | | | ||||||
* | | | | | | | Merge pull request #3209 from ksob/subdomain_false_strips_subdomains | José Valim | 2011-10-04 | 4 | -5/+23 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | :subdomain => false will remove all subdomains now. Closes #2025 | |||||
| * | | | | | | | :subdomain can now be specified with a value of false in url_for, allowing ↵ | Kamil Sobieraj | 2011-10-04 | 4 | -5/+23 | |
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | for subdomain(s) removal from the host during link generation. Closes #2025 | |||||
* | | | | | | | Fix failing tests and refactor assets.rake | José Valim | 2011-10-04 | 2 | -25/+38 | |
| | | | | | | | ||||||
* | | | | | | | Changing rake db:schema:dump to run :environment as well as :load_config, as ↵ | Ben Woosley | 2011-10-04 | 1 | -1/+1 | |
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | running :load_config alone will lead to the dumper being run without including extensions such as those included in foreigner and spatial_adapter. This reverses a change made here: https://github.com/rails/rails/commit/5df72a238e9fcb18daf6ab6e6dc9051c9106d7bb#L0L324 I'm assuming here that :load_config needs to be invoked separately from :environment, as it is elsewhere in the file for db operations, if not the alternative is to go back to "task :dump => :environment do". Signed-off-by: José Valim <jose.valim@gmail.com> |