aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow ActiveRecord observers to be disabled.Myron Marston2011-08-124-3/+27
| | | We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
* moving test_generate to an integration test with one assert per testAaron Patterson2011-08-122-108/+183
|
* Merge pull request #2503 from arunagw/cant_dup_on_nilAaron Patterson2011-08-121-1/+1
|\ | | | | We cannot dup on nil.
| * We actually don't need a reverse_merge! here. dup removed was giving error ↵Arun Agrawal2011-08-121-1/+1
|/ | | | with nil class.
* Merge pull request #2497 from akaspick/url_for_fixSantiago Pastorino2011-08-112-1/+13
|\ | | | | When calling url_for with a hash, additional (likely unwanted) values (such as :host) would be returned in the hash
| * when calling url_for with a hash, additional (likely unwanted) values (such ↵Andrew Kaspick2011-08-112-1/+13
|/ | | | as :host) would be returned in the hash... calling #dup on the hash prevents this
* Merge pull request #2489 from grzuy/masterSantiago Pastorino2011-08-111-4/+4
|\ | | | | Remove parameters_for_url from form_tag method header
| * Remove 'parameters_for_url' parameter from 'form_tag' method signatureGonzalo Rodriguez and Leonardo Capillera2011-08-101-4/+4
|/ | | | | If you use that parameter it will end calling to url_for with two arguments, which fails because url_for expects only one
* add the gem requirement for sqlite3Aaron Patterson2011-08-101-0/+2
|
* Remove lame comment.José Valim2011-08-091-1/+0
|
* rake assets:precompile defaults to production envSantiago Pastorino2011-08-091-0/+1
|
* adding missing require to fist railties testsAaron Patterson2011-08-091-0/+2
|
* Okay, the new incompatible arel is now called 2.2 and the sun shines upon ↵Jon Leighton2011-08-091-1/+1
| | | | thee once more
* Merge pull request #2465 from pivotal-casebook/patch-3Aaron Patterson2011-08-091-0/+2
|\ | | | | Further monkey-patching to avoid deprecation warnings
| * Further monkey-patching to avoid deprecation warningsPivotal Casebook2011-08-081-0/+2
| |
* | deprecating process_view_pathsAaron Patterson2011-08-095-4/+6
| |
* | avoid object creation via useless duping and freezingAaron Patterson2011-08-091-3/+2
| |
* | just use map and case / when rather than modifying the iterating arrayAaron Patterson2011-08-091-5/+8
| |
* | only typecast what we need to typecastAaron Patterson2011-08-091-11/+9
| |
* | Favor composition over inheritance.Aaron Patterson2011-08-091-6/+48
| |
* | Array#+ automatically dups, no double dupingAaron Patterson2011-08-091-2/+2
| |
* | Just remove the sort_locals methodAaron Patterson2011-08-091-12/+1
| |
* | the freeze trick does nothing on arrays used as hash keys.Aaron Patterson2011-08-091-2/+1
| |
* | use functional style to build a list of template objectsAaron Patterson2011-08-091-9/+12
| |
* | refactor the optimized build_query a bitAaron Patterson2011-08-081-8/+3
| |
* | reduce file stats by improving our dir glob patternAaron Patterson2011-08-081-1/+1
| |
* | hash on the template directory in order to improve cache hitsAaron Patterson2011-08-081-2/+3
| |
* | use meaningful names with our variablesAaron Patterson2011-08-081-6/+6
| |
* | use binread to read the filesAaron Patterson2011-08-081-1/+2
| |
* | backporting IO#binread for 1.8 usersAaron Patterson2011-08-082-0/+38
| |
* | be explicit about arguments passed aroundAaron Patterson2011-08-081-2/+2
| |
* | Remove TODO comment I didn't mean to commitJon Leighton2011-08-091-2/+0
| |
* | Bump arel versionJon Leighton2011-08-081-1/+1
| |
* | Fully marshal AR::Base objects. Fixes #2431.Jon Leighton2011-08-082-21/+13
| |
* | Make it the responsibility of the connection to hold onto an ARel visitor ↵Jon Leighton2011-08-0823-68/+122
| | | | | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
* | Merge pull request #2426 from pivotal-casebook/fix-buildAaron Patterson2011-08-081-7/+7
|\ \ | | | | | | Make rails gem build directory consistent with actionpack, etc.
| * | Make rails gem build directory consistent with actionpack, etc.Andrew Marshall & Sean Moon2011-08-041-7/+7
| | |
* | | Merge pull request #2466 from rsim/fix_test_disable_referential_integrityAaron Patterson2011-08-081-0/+3
|\ \ \ | |_|/ |/| | Fixed test_disable_referential_integrity on Oracle
| * | Fixed test_disable_referential_integrity on OracleRaimonds Simanovskis2011-08-081-0/+3
|/ / | | | | On Oracle disable_referential_integrity before execution of block will disable foreign key constraints and after block will enable them but when constraints are enabled then they are validated. Therefore created record with invalid foreign key should be deleted before enabling foreign key constraints.
* | Initialize config.assets.version the same way it's done in SprocketsSantiago Pastorino2011-08-082-1/+2
| |
* | Merge pull request #2448 from igrigorik/masterJoshua Peek2011-08-084-2/+16
|\ \ | | | | | | Asset pipeline fixes: clear out tmp cache and use environment in digest generation
| * | use assets.version in asset checksum to allow user to easily overrideIlya Grigorik2011-08-051-1/+1
| | |
| * | Merge branch 'asset_hash_should_depend_on_env'Ilya Grigorik2011-08-042-0/+14
| |\ \
| | * | generate environment dependent asset digestsIlya Grigorik2011-08-042-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | If two different environments are configured to use the pipeline, but one has an extra step (such as compression) then without taking the environment into account you may end up serving wrong assets
| | * | Clear out tmp/cache when assets:clean is invoked.Ilya Grigorik2011-08-042-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise, if bad data is cached in tmp/clear then the next invocation of assets:precompile (or a regular incoming request) will pickup files from tmp without regenerating them from source.
| * | | Clear out tmp/cache when assets:clean is invoked.Ilya Grigorik2011-08-042-2/+2
| |/ / | | | | | | | | | | | | | | | Otherwise, if bad data is cached in tmp/clear then the next invocation of assets:precompile (or a regular incoming request) will pickup files from tmp without regenerating them from source.
* | | Merge pull request #2451 from gdelfino/masterAaron Patterson2011-08-071-3/+3
|\ \ \ | | | | | | | | sqlite transactions in log files
| * | | sqlite transactions now loggedGustavo Delfino2011-08-061-3/+3
| | | | | | | | | | | | motivation: http://stackoverflow.com/questions/6892630/sqlite-transactions-not-showing-in-test-log
* | | | guides generation: apparently this workaround for RedCloth is not needed anymoreXavier Noria2011-08-072-47/+26
| | | |
* | | | Merge pull request #2457 from Gregg/zombie_singular_fixXavier Noria2011-08-071-0/+1
|\ \ \ \ | | | | | | | | | | Added irregular zombie inflection, so zombies != zomby