aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Fix failing test, TestQueue#contents is not #jobsCarlos Antonio da Silva2012-04-272-2/+2
| | | | |
* | | | | Merge pull request #6021 from sikachu/log_exceptionJosé Valim2012-04-272-1/+21
|\ \ \ \ \ | | | | | | | | | | | | Log the exception from the ThreadConsumer
| * | | | | Log the exception from the ThreadConsumerPrem Sichanugrist2012-04-272-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | This will make sure you know when there's an exception occur.
* | | | | | ensure that draining the queue will raise exceptionsAaron Patterson2012-04-271-0/+5
| | | | | |
* | | | | | adding the `jobs` method to the test queue for getting a list of testAaron Patterson2012-04-272-0/+14
|/ / / / / | | | | | | | | | | | | | | | jobs.
* | | | | oops!Aaron Patterson2012-04-271-1/+0
| | | | |
* | | | | Extend stdlib queue for the test queueAaron Patterson2012-04-272-28/+12
| | | | |
* | | | | do not depend on timeAaron Patterson2012-04-271-4/+4
| | | | |
* | | | | Merge pull request #6020 from 7even/test_queue_orderAaron Patterson2012-04-272-1/+14
|\ \ \ \ \ | |_|/ / / |/| | | | Rails::Queueing::TestQueue run order
| * | | | clean up empty linesVsevolod Romashov2012-04-281-3/+3
| | | | |
| * | | | fixes run order in Rails::Queueing::TestQueueVsevolod Romashov2012-04-282-1/+14
| | | | |
* | | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-283-6/+6
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Use <tt>Foo::Bar</tt> instead of +Foo::Bar+Mark Rushakof2012-04-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+)
| * | | | Fix misprints in assert_file & assert_instance_method docsAlexey Vakhov2012-04-261-4/+4
| | | | |
* | | | | add a factory method for queue construction so that apps can have multiple ↵Aaron Patterson2012-04-272-1/+13
| | | | | | | | | | | | | | | | | | | | queues
* | | | | Revert "Merge pull request #5995 from kennyj/fix_5847-3"José Valim2012-04-271-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 Katz2012-04-264-0/+288
| | | | |
* | | | | Initial queue implementationYehuda Katz2012-04-268-3/+45
| | | | |
* | | | | Namedspaced generator indent method test refactoringAlexey Vakhov2012-04-261-3/+4
| | | | |
* | | | | Fix #5847 and #4045. Load AR::Base before loading an application model.kennyj2012-04-261-0/+22
| | | | |
* | | | | Routes reloader knows how to reload external filesYehuda Katz2012-04-253-4/+73
| | | | |
* | | | | Fix missing Rails.env in route inspect testsYehuda Katz2012-04-251-0/+1
| | | | |
* | | | | Fix the buildYehuda Katz2012-04-251-1/+1
| | | | |
* | | | | Make files in paths consistentYehuda Katz2012-04-251-1/+1
| | | | |
* | | | | Allow loading external route files from the routerJose and Yehuda2012-04-256-3/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Remove blank line at the end of routes.rbJeremy Kemper2012-04-251-2/+1
| | | | |
* | | | | Merge pull request #5902 from avakhov/generator-no-indent-blank-linesJosé Valim2012-04-252-1/+9
|\ \ \ \ \ | |/ / / / |/| | | | Don't indent blank lines in named base generators
| * | | | Don't indent blank lines in named base generatorsAlexey Vakhov2012-04-252-1/+9
| | | | |
* | | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-251-1/+1
|\ \ \ \ \
| * | | | | Revert "Added warning that require_tree includes files in unspecified order. ↵Vijay Dev2012-04-251-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So, that people may know the order of their scripts might be the reason that their scripts work in just fine in development but not in production. " This reverts commit 9dbd511172170f60b96012b7b87044638c3962b8. Reason: Sounds like something for the guide, not the template.
| * | | | | removing changes made in ccd0b511c933d3e2c7f3e345622ad2cc17728de5 and ↵Vijay Dev2012-04-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | 189a1728b561c19404f814979fd73adc5bea554d [ci skip]
| * | | | | Remove lonely number signAlexey Vakhov2012-04-251-1/+1
| | | | | |
| * | | | | Added notice on how to enable gzip compression. Gaurish Sharma2012-04-251-1/+1
| | | | | | | | | | | | | | | | | | (Fixed typo from previous commit: ccd0b511c933d3e2c7f3e345622ad2cc17728de5)
| * | | | | Added notice on how to enable gzip compression in rails app using ↵Gaurish Sharma2012-04-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Rack::Deflater. it is disabled & commented out by default.
| * | | | | Added warning that require_tree includes files in unspecified order. So, ↵Gaurish Sharma2012-04-251-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | that people may know the order of their scripts might be the reason that their scripts work in just fine in development but not in production.
* | | | | | Merge pull request #5880 from asanghi/masterJeremy Kemper2012-04-255-9/+9
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Stamp out ruby-debug with debugger everywhere else in the code base
| * | | | | and one more timeAditya Sanghi2012-04-244-6/+6
| | | | | |
| * | | | | another attempt at the languageAditya Sanghi2012-04-183-4/+4
| | | | | |
| * | | | | stamp out ruby-debug19 with extreme prejudice :)Aditya Sanghi2012-04-175-9/+9
| | | | | |
* | | | | | Clean up some straggling build failuresJose and Yehuda2012-04-241-7/+7
| | | | | |
* | | | | | Remove default match without specified methodJose and Yehuda2012-04-2416-73/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge pull request #5929 from FLOChip/notesJeremy Kemper2012-04-242-4/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | `rake notes` and `rake notes:custom` now support css, scss, and css.
| * | | | | | `rake notes` and `rake notes:custom` now supportTeng Siong Ong2012-04-222-4/+14
| | |/ / / / | |/| | | | | | | | | | css, scss and css.
* | | | | | Deleting insecure and "bad practice" code. related: ↵Egor Homakov2012-04-241-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | http://homakov.blogspot.com/2012/04/whitelist-your-routes-match-is-evil.html
* | | | | | Only include Rake::DSL if it's defined.Joe Van Dyk2012-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | rake < 0.9 doesn't define Rake::DSL.
* | | | | | Refactor GeneratedAttributesCarlos Antonio da Silva2012-04-221-7/+10
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move reference? method to class to remove duplicated code * Move to_sym typecast from #initialize to .parse method (make it easier to refactor reference?), remove AS object/blank require * Use []= instead of merge!({}) * Remove in? in favor of include?, remove AS object/inclusion require
* | | | | Freeze the middleware stack after it's builtJeremy Kemper2012-04-202-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So apps that accidentally add middlewares later aren't unwittingly dumping them in a black hole. Closes #5911
* | | | | Remove unused generator options. This was added for the removed rails new --httpSantiago Pastorino2012-04-183-9/+0
| | | | |
* | | | | Add hook for add_resource_routeSantiago Pastorino2012-04-183-7/+16
| | | | |
* | | | | Add missing dependency for active_record_deprecated_findersJuan Manuel Azambuja2012-04-181-0/+2
| | | | |