Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | Define only writer method for queue, as reader is declared | Carlos Antonio da Silva | 2012-04-28 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | Remove deprecation warning of method redefined. | |||||
* | | | | | Don't create new directory for tests | Piotr Sarnacki | 2012-04-28 | 2 | -26/+24 | |
| | | | | | ||||||
* | | | | | Fix Engine#routes to not call draw_paths multiple times | Piotr Sarnacki | 2012-04-28 | 1 | -0/+10 | |
| | | | | | ||||||
* | | | | | Add a failing test for #5764 | Piotr Sarnacki | 2012-04-28 | 1 | -0/+16 | |
|/ / / / | ||||||
* | | | | Use Rails::Queueing::Queue instead of Queue so people can build their own ↵ | José Valim | 2012-04-28 | 2 | -3/+3 | |
| | | | | | | | | | | | | | | | | consumers around stdlib's Queue | |||||
* | | | | Add parentheses to hide Ruby warning | Prem Sichanugrist | 2012-04-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Fix failing test, TestQueue#contents is not #jobs | Carlos Antonio da Silva | 2012-04-27 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #6021 from sikachu/log_exception | José Valim | 2012-04-27 | 1 | -0/+16 | |
|\ \ \ \ | | | | | | | | | | | Log the exception from the ThreadConsumer | |||||
| * | | | | Log the exception from the ThreadConsumer | Prem Sichanugrist | 2012-04-27 | 1 | -0/+16 | |
| | | | | | | | | | | | | | | | | | | | | This will make sure you know when there's an exception occur. | |||||
* | | | | | ensure that draining the queue will raise exceptions | Aaron Patterson | 2012-04-27 | 1 | -0/+5 | |
| | | | | | ||||||
* | | | | | adding the `jobs` method to the test queue for getting a list of test | Aaron Patterson | 2012-04-27 | 1 | -0/+6 | |
|/ / / / | | | | | | | | | | | | | jobs. | |||||
* | | | | oops! | Aaron Patterson | 2012-04-27 | 1 | -1/+0 | |
| | | | | ||||||
* | | | | Extend stdlib queue for the test queue | Aaron Patterson | 2012-04-27 | 1 | -10/+10 | |
| | | | | ||||||
* | | | | do not depend on time | Aaron Patterson | 2012-04-27 | 1 | -4/+4 | |
| | | | | ||||||
* | | | | clean up empty lines | Vsevolod Romashov | 2012-04-28 | 1 | -3/+3 | |
| | | | | ||||||
* | | | | fixes run order in Rails::Queueing::TestQueue | Vsevolod Romashov | 2012-04-28 | 1 | -0/+13 | |
| | | | | ||||||
* | | | | add a factory method for queue construction so that apps can have multiple ↵ | Aaron Patterson | 2012-04-27 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | queues | |||||
* | | | | Revert "Merge pull request #5995 from kennyj/fix_5847-3" | José Valim | 2012-04-27 | 1 | -22/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Active Record should be lazy loaded and this pull request forced Active Record to always be loaded after initialization. This reverts commit 8cd14c0bc9f9429f03d1181912355d2f48b98157, reversing changes made to 2f0c8c52e66f1a2a3d1c00efc207f227124e96c2. | |||||
* | | | | Missing git add :trollface: | Yehuda Katz | 2012-04-26 | 3 | -0/+223 | |
| | | | | ||||||
* | | | | Initial queue implementation | Yehuda Katz | 2012-04-26 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Namedspaced generator indent method test refactoring | Alexey Vakhov | 2012-04-26 | 1 | -3/+4 | |
| | | | | ||||||
* | | | | Fix #5847 and #4045. Load AR::Base before loading an application model. | kennyj | 2012-04-26 | 1 | -0/+22 | |
| | | | | ||||||
* | | | | Routes reloader knows how to reload external files | Yehuda Katz | 2012-04-25 | 1 | -0/+61 | |
| | | | | ||||||
* | | | | Fix missing Rails.env in route inspect tests | Yehuda Katz | 2012-04-25 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | Allow loading external route files from the router | Jose and Yehuda | 2012-04-25 | 3 | -0/+28 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications. | |||||
* | | | | Merge pull request #5902 from avakhov/generator-no-indent-blank-lines | José Valim | 2012-04-25 | 1 | -0/+8 | |
|\ \ \ \ | | | | | | | | | | | Don't indent blank lines in named base generators | |||||
| * | | | | Don't indent blank lines in named base generators | Alexey Vakhov | 2012-04-25 | 1 | -0/+8 | |
| | | | | | ||||||
* | | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-25 | 1 | -1/+1 | |
|\ \ \ \ \ | |/ / / / |/| | | | | ||||||
| * | | | | Remove lonely number sign | Alexey Vakhov | 2012-04-25 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Clean up some straggling build failures | Jose and Yehuda | 2012-04-24 | 1 | -7/+7 | |
| | | | | | ||||||
* | | | | | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 14 | -68/+68 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | |||||
* | | | | | `rake notes` and `rake notes:custom` now support | Teng Siong Ong | 2012-04-22 | 1 | -1/+7 | |
|/ / / / | | | | | | | | | css, scss and css. | |||||
* | | | | Freeze the middleware stack after it's built | Jeremy Kemper | 2012-04-20 | 2 | -17/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | | So apps that accidentally add middlewares later aren't unwittingly dumping them in a black hole. Closes #5911 | |||||
* | | | | Fix test | Santiago Pastorino | 2012-04-16 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | fix scaffold_generator_test.rb and model_generator_test.rb | Arun Agrawal | 2012-04-16 | 2 | -8/+6 | |
| |/ / |/| | | | | | | | | Broken after this 6a054b0038bac288a1f6e45feb5470f4ee492081 | |||||
* | | | "rails new -h" shows message in rails directory | ask | 2012-04-09 | 1 | -0/+10 | |
| | | | ||||||
* | | | Fix a couple more script[type=text/javascript] tests affected by #5748 | Jeremy Kemper | 2012-04-08 | 2 | -8/+8 | |
| | | | ||||||
* | | | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Usage file in generators shouldn't be fetched only based on source_root | Piotr Sarnacki | 2012-04-01 | 2 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | In case `source_roout` is not set, `default_source_root` is used, which includes also `templates` directory. If there is no `templates` directory, `default_source_root` is not available and USAGE will not be displayed. USAGE should be also checked based on default directory excluding `templates`. | |||||
* | | | Drop Paths::Root initializer check of #path as it isn't checked in the ↵ | Ben Woosley | 2012-03-29 | 1 | -4/+0 | |
| | | | | | | | | | | | | #path= or anywhere else | |||||
* | | | Rails.initialized? can be called at any time without raising an exception ↵ | Franck Verrot | 2012-03-28 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?` | |||||
* | | | favor composition over inheritance | Aaron Patterson | 2012-03-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge pull request #5550 from schneems/schneems/server_env | Aaron Patterson | 2012-03-23 | 2 | -0/+45 | |
|\ \ \ | | | | | | | | | Fix environment support for rails server, and match interface of rails console | |||||
| * | | | match rails console environment support, to server | schneems | 2012-03-22 | 1 | -0/+19 | |
| | | | | | | | | | | | | | | | | rails server takes `-e` as an argument to specify RAILS_ENV, rails console currently does not have the same interface. This commit fixes this disparity so developers can manually specify `RAILS_ENV` or can pass in an environment with a `-e`. | |||||
| * | | | fix rails server support of RAILS_ENV variable | schneems | 2012-03-20 | 1 | -0/+26 | |
| |/ / | | | | | | | | | | | | | | | | | | | When launching rails server from the command line with a rails environment specified such as `rails server RAILS_ENV=production` an error would occur since rails will try to use `RAILS_ENV=production` as it's server. When launching rails with a specified server such as thin `rails server thin RAILS_ENV=production` no error will be thrown, but rails will not start up in the specified environment. This fixes both of those cases | |||||
* | | | Fixed missing space bug introduces in ↵ | Anton Lindqvist | 2012-03-22 | 1 | -3/+4 | |
| | | | | | | | | | | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940. | |||||
* | | | Avoid another blank line in generated migration and remove assertion as per ↵ | Marcelo Silveira | 2012-03-21 | 1 | -1/+0 | |
| | | | | | | | | | | | | @spastorino request | |||||
* | | | Merge pull request #5532 from mhfs/migration_blank_line | José Valim | 2012-03-21 | 1 | -0/+1 | |
|\ \ \ | | | | | | | | | Remove blank line from generated migration | |||||
| * | | | Remove blank line from generated migration | Marcelo Silveira | 2012-03-20 | 1 | -0/+1 | |
| |/ / | ||||||
* / / | Generate Migration Thats Adds Removed Index | Travis Jeffery | 2012-03-21 | 1 | -0/+18 | |
|/ / | | | | | | | | | When generating a migration that removes a field with an index, the down will add both the field and its index. |