Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | made dynamic finders alias_attribute aware | Maximilian Schneider | 2012-06-22 | 7 | -2/+27 |
| | | | | | previously dynamic finders only worked in combination with the actual column name and not its alias defined with #alias_attribute | ||||
* | Merge pull request #6798 from kennyj/db-rake-structure-load | Carlos Antonio da Silva | 2012-06-20 | 9 | -53/+133 |
|\ | | | | | Refactor db:structure:load task. | ||||
| * | Remove duplicated codes. | kennyj | 2012-06-21 | 1 | -41/+11 |
| | | |||||
| * | Refactor db:structure:load task. | kennyj | 2012-06-21 | 9 | -19/+129 |
| | | |||||
* | | Merge pull request #4396 from kennyj/fix_4259 | Rafael Mendonça França | 2012-06-20 | 2 | -4/+40 |
|\ \ | |/ |/| | | | Fix GH #4259. When we execute schema dumper, we must remove table_name_prefix and table_name_suffix. | ||||
| * | Fix GH #4259. We must remove table_name_prefix and table_name_suffix, when ↵ | kennyj | 2012-01-10 | 2 | -4/+40 |
| | | | | | | | | we execute schema dumper. | ||||
* | | Merge pull request #6402 from paranoiase/prev-and-next-quarter | Carlos Antonio da Silva | 2012-06-20 | 12 | -2/+91 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add prev_quarter and next_quarter methods in Time/Date/DateTime calculations. Similar to prev_month and next_month, it returns the date with the same day in the previous or next quarter: t = Time.local(2010, 5, 8) # => Sat, 08 May 2010 t.prev_quarter # => Mon, 08 Feb 2010 t.next_quarter # => Sun, 08 Aug 2010 Closes #6402 | ||||
| * | | Add prev_quarter and next_quarter method in Time/Date/DateTime | paranoiase Kang | 2012-06-20 | 7 | -0/+82 |
| | | | |||||
| * | | Merge pull request #6426 from pinetops/template_concurrency_master | Carlos Antonio da Silva | 2012-06-20 | 0 | -0/+0 |
| |\ \ | | | | | | | | | Prevent concurrent compilation of templates - closes #6400 | ||||
| | * | | Prevent concurrent compilation of templates - closes #6400 | Tom Clarke | 2012-05-21 | 1 | -10/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This addresses an issue where in multi-threaded environments multiple threads can attempt to compile a template at the same time, which occasionally causes particular templates to end up in a bad state. So, add synchronization such that only a single thread can attempt to compile a template at one time. | ||||
| * | | | Bump minitest to 3.1.0 | Santiago Pastorino | 2012-06-20 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge pull request #6789 from takoyakikamen/aptests | Aaron Patterson | 2012-06-19 | 1 | -0/+1 |
| |\ \ \ | | | | | | | | | | | Correct the AP test。 | ||||
| | * | | | Correct the AP test。 | タコ焼き仮面 | 2012-06-19 | 1 | -0/+1 |
| |/ / / | |||||
| * | | | Run the logger tests in isolation | Rafael Mendonça França | 2012-06-19 | 2 | -1/+3 |
| | | | | |||||
| * | | | CORES needs to be a integer | Rafael Mendonça França | 2012-06-19 | 1 | -1/+1 |
| | | | | |||||
| * | | | run the notes tests in isolation | Aaron Patterson | 2012-06-19 | 1 | -0/+4 |
|/ / / | |||||
* | | | run railties tests in parallel, default to 2 cores | Aaron Patterson | 2012-06-19 | 2 | -2/+39 |
| | | | |||||
* | | | Merge branch 'aderyabin-fix7' | Rafael Mendonça França | 2012-06-19 | 3 | -23/+67 |
|\ \ \ | | | | | | | | | | | | | Closes #6007 | ||||
| * | | | Remove unneeded code since pluck is respecting joins now | Rafael Mendonça França | 2012-06-19 | 1 | -12/+1 |
| | | | | |||||
| * | | | Extract conditional to a method to avoid duplication | Rafael Mendonça França | 2012-06-19 | 2 | -15/+22 |
| | | | | | | | | | | | | | | | | Also use if/else block to not use short circuit return | ||||
| * | | | handle joins/includes correctly for pluck and calculation. | Andrey Deryabin | 2012-06-19 | 2 | -1/+49 |
| | | | | | | | | | | | | | | | | Fix #5990 | ||||
* | | | | Merge pull request #6787 from frodsan/add_nodoc_asset_helpers | Carlos Antonio da Silva | 2012-06-19 | 3 | -4/+4 |
|\ \ \ \ | |/ / / |/| | | | | | | | add :nodoc: to AV StylesheetIncludeTag, JavascriptIncludeTag and AssetIncludeTag [ci skip] | ||||
| * | | | add :nodoc: to AV StylesheetIncludeTag, JavascriptIncludeTag and AssetIncludeTag | Francesco Rodriguez | 2012-06-19 | 3 | -4/+4 |
| | | | | |||||
* | | | | join any extra args to the tmp path | Aaron Patterson | 2012-06-19 | 1 | -0/+1 |
|/ / / | |||||
* | | | expand the tmpdir to the realpath so tests on OS X pass | Aaron Patterson | 2012-06-19 | 2 | -2/+2 |
| | | | |||||
* | | | Merge branch 'remote' | Aaron Patterson | 2012-06-19 | 2 | -33/+22 |
|\ \ \ | | | | | | | | | | | | | | | | | * remote: move fanout back to a global variable, add a mutex for safety | ||||
| * | | | move fanout back to a global variable, add a mutex for safety | Aaron Patterson | 2012-06-19 | 2 | -33/+22 |
| | | | | |||||
* | | | | use system tmpdir rather than our own | Aaron Patterson | 2012-06-19 | 3 | -13/+26 |
| | | | | |||||
* | | | | make logger a singleton on the class | Aaron Patterson | 2012-06-19 | 1 | -3/+7 |
| | | | | |||||
* | | | | listeners are per thread, so remove nested hash | Aaron Patterson | 2012-06-19 | 1 | -6/+4 |
|/ / / | |||||
* | | | Add missing require | Rafael Mendonça França | 2012-06-19 | 1 | -0/+2 |
| | | | |||||
* | | | Merge pull request #6782 from kennyj/db-rake-structure-dump | Rafael Mendonça França | 2012-06-19 | 9 | -14/+147 |
|\ \ \ | | | | | | | | | Refactor db:structure:dump task. | ||||
| * | | | Refactor db:structure:dump task. | kennyj | 2012-06-20 | 9 | -14/+147 |
| | | | | |||||
* | | | | Merge pull request #6784 from msgehard/active_support_cleanup | Carlos Antonio da Silva | 2012-06-19 | 1 | -7/+4 |
|\ \ \ \ | | | | | | | | | | | Remove extra test case. | ||||
| * | | | | Remove extra test case. | Mike Gehard | 2012-06-19 | 1 | -7/+4 |
| |/ / / | | | | | | | | | | | | | Make the test description better reflect what is happening | ||||
* | | | | subscribers are per thread, so remove the nested hash access | Aaron Patterson | 2012-06-19 | 1 | -5/+3 |
| | | | | |||||
* | | | | documenting concurrency rules for the Fanout class | Aaron Patterson | 2012-06-19 | 1 | -0/+3 |
| | | | | |||||
* | | | | remove global cache | Aaron Patterson | 2012-06-19 | 1 | -7/+2 |
| | | | | |||||
* | | | | reduce thread locals | Aaron Patterson | 2012-06-19 | 1 | -3/+20 |
| | | | | |||||
* | | | | make the fanout notifier local to the current thread | Aaron Patterson | 2012-06-19 | 1 | -4/+8 |
| | | | | |||||
* | | | | Merge pull request #6785 from kennyj/rename_testcase_name | Carlos Antonio da Silva | 2012-06-19 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | Rename testcase name. It's wrong in the context. | ||||
| * | | | | Rename testcase name. It's wrong in the context. | kennyj | 2012-06-20 | 1 | -1/+1 |
| |/ / / | |||||
* | | | | Merge pull request #6783 from kennyj/rename_testname | Rafael Mendonça França | 2012-06-19 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | Rename MySQLTestPurge to MySQLPurgeTest for consistency. | ||||
| * | | | Rename MySQLTestPurge to MySQLPurgeTest for consistency. | kennyj | 2012-06-20 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #6779 from simonjefford/db-rake-charset | Carlos Antonio da Silva | 2012-06-19 | 9 | -20/+118 |
|\ \ \ | | | | | | | | | Refactor db:charset task | ||||
| * | | | Refactor db:charset task | Simon Jefford | 2012-06-19 | 9 | -20/+118 |
|/ / / | | | | | | | | | | | | | In a similar vein to Pat's work on create, drop etc, the db:charset task is now a one liner in databases.rake | ||||
* | | | Merge pull request #6777 from route/logger_in_metal_tests | Carlos Antonio da Silva | 2012-06-19 | 1 | -0/+17 |
|\ \ \ | | | | | | | | | | | | | Added test for case when view doesn't have logger method when using ActionController::Metal controller. | ||||
| * | | | Added test for case when view doesn't have logger method when using ↵ | Dmitry Vorotilin | 2012-06-19 | 1 | -0/+17 |
| | | | | | | | | | | | | | | | | ActionController::Metal controller. | ||||
* | | | | Merge pull request #6776 from raggi/cache_control | José Valim | 2012-06-18 | 2 | -10/+44 |
|\ \ \ \ | |/ / / |/| | | | Ensure that cache-control headers are merged | ||||
| * | | | Ensure that cache-control headers are merged | James Tucker | 2012-06-18 | 2 | -10/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are several aspects to this commit, that don't well fit into broken down commits, so they are detailed here: * When a user uses response.headers['Cache-Control'] = some_value, then the documented convention in ConditionalGet is not adhered to, in this case, response.cache_control is ignored due to `return if self[CACHE_CONTROL].present?` * When a middleware sets cache-control headers that would clobber, they're converted to symbols directly, without underscores. This would lead to bugs. * Items that would live in :extras if set through expires_in, are placed directly in the @cache_control hash, and not respected in many cases (somewhat adhering to the aforementioned documentation). * Although quite useless, any directive named 'extras' would be ignored. The general convention applied is that expires_* take precedence, but no longer overwrite everything and expires_* are ALWAYS applied, even if the header is set. I am still unhappy about the contents of this commit, and the code in general. Ideally it should be refactored to no longer use :extras. I'd likely recommend expanding @cache_control into a class, and giving it the power to handle the merge in a more efficient fashion. Such a commit would be a larger change that could have additional semantic changes for other libraries unless they utilize expires_in in very standard ways. |