Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 3 | -4/+73 |
| | |||||
* | Fix missing Rails.env in route inspect tests | Yehuda Katz | 2012-04-25 | 1 | -0/+1 |
| | |||||
* | Fix the build | Yehuda Katz | 2012-04-25 | 1 | -1/+1 |
| | |||||
* | Make files in paths consistent | Yehuda Katz | 2012-04-25 | 1 | -1/+1 |
| | |||||
* | Allow loading external route files from the router | Jose and Yehuda | 2012-04-25 | 6 | -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.rb | Jeremy Kemper | 2012-04-25 | 1 | -2/+1 |
| | |||||
* | Merge pull request #5902 from avakhov/generator-no-indent-blank-lines | José Valim | 2012-04-25 | 2 | -1/+9 |
|\ | | | | | Don't indent blank lines in named base generators | ||||
| * | Don't indent blank lines in named base generators | Alexey Vakhov | 2012-04-25 | 2 | -1/+9 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-25 | 1 | -1/+1 |
|\ \ | |||||
| * | | Revert "Added warning that require_tree includes files in unspecified order. ↵ | Vijay Dev | 2012-04-25 | 1 | -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 Dev | 2012-04-25 | 1 | -2/+0 |
| | | | | | | | | | | | | 189a1728b561c19404f814979fd73adc5bea554d [ci skip] | ||||
| * | | Remove lonely number sign | Alexey Vakhov | 2012-04-25 | 1 | -1/+1 |
| | | | |||||
| * | | Added notice on how to enable gzip compression. | Gaurish Sharma | 2012-04-25 | 1 | -1/+1 |
| | | | | | | | | | (Fixed typo from previous commit: ccd0b511c933d3e2c7f3e345622ad2cc17728de5) | ||||
| * | | Added notice on how to enable gzip compression in rails app using ↵ | Gaurish Sharma | 2012-04-25 | 1 | -0/+2 |
| | | | | | | | | | | | | Rack::Deflater. it is disabled & commented out by default. | ||||
| * | | Added warning that require_tree includes files in unspecified order. So, ↵ | Gaurish Sharma | 2012-04-25 | 1 | -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/master | Jeremy Kemper | 2012-04-25 | 5 | -9/+9 |
|\ \ \ | |_|/ |/| | | Stamp out ruby-debug with debugger everywhere else in the code base | ||||
| * | | and one more time | Aditya Sanghi | 2012-04-24 | 4 | -6/+6 |
| | | | |||||
| * | | another attempt at the language | Aditya Sanghi | 2012-04-18 | 3 | -4/+4 |
| | | | |||||
| * | | stamp out ruby-debug19 with extreme prejudice :) | Aditya Sanghi | 2012-04-17 | 5 | -9/+9 |
| | | | |||||
* | | | 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 | 16 | -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/notes | Jeremy Kemper | 2012-04-24 | 2 | -4/+14 |
|\ \ \ | | | | | | | | | `rake notes` and `rake notes:custom` now support css, scss, and css. | ||||
| * | | | `rake notes` and `rake notes:custom` now support | Teng Siong Ong | 2012-04-22 | 2 | -4/+14 |
| | |/ | |/| | | | | css, scss and css. | ||||
* | | | Deleting insecure and "bad practice" code. related: ↵ | Egor Homakov | 2012-04-24 | 1 | -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 Dyk | 2012-04-23 | 1 | -1/+1 |
| | | | | | | | | | | | | rake < 0.9 doesn't define Rake::DSL. | ||||
* | | | Refactor GeneratedAttributes | Carlos Antonio da Silva | 2012-04-22 | 1 | -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 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 | ||||
* | | Remove unused generator options. This was added for the removed rails new --http | Santiago Pastorino | 2012-04-18 | 3 | -9/+0 |
| | | |||||
* | | Add hook for add_resource_route | Santiago Pastorino | 2012-04-18 | 3 | -7/+16 |
| | | |||||
* | | Add missing dependency for active_record_deprecated_finders | Juan Manuel Azambuja | 2012-04-18 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #5869 from LachyGroom/patch-1 | Piotr Sarnacki | 2012-04-17 | 1 | -1/+1 |
|\ \ | | | | | | | Changes b tag to strong | ||||
| * | | Changes b tag to strong | CollectiveJam | 2012-04-16 | 1 | -1/+1 |
| | | | | | | | | | | | | The change is made due to importance of the attribute name (e.g. Name:) on the page (versus just stylistic / appearance sake tag). | ||||
* | | | the index option is always created if the type is one of references or ↵ | Vijay Dev | 2012-04-18 | 1 | -2/+4 |
| | | | | | | | | | | | | belongs_to. Refactoring it to a simpler form and fixing the build | ||||
* | | | let's not use `and` in place of `&&` | Vijay Dev | 2012-04-18 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Fix test | Santiago Pastorino | 2012-04-16 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #5835 from asanghi/master | Jeremy Kemper | 2012-04-16 | 1 | -1/+1 |
|\ | | | | | Update Gemfile to use 'debugger' instead of unmaintained 'ruby-debug19' | ||||
| * | Hey, let's just make it easier for everyone and dump the unmaintained ↵ | Aditya Sanghi | 2012-04-14 | 1 | -1/+1 |
| | | | | | | | | ruby-debug19 and move to debugger. Whats the consensus here? If we want better adoption on ruby1.9, please lets just use this fork. | ||||
* | | Make log_level explicit in production.rb template | Rodrigo Rosenfeld Rosas | 2012-04-16 | 1 | -2/+2 |
| | | | | | | | | | | | | The 'production' environment name is currently checked for setting up the default log_level to 'info' but that won't work if the environment is copied to staging.rb, for instance. Better to have it explicitly set. | ||||
* | | fix scaffold_generator_test.rb and model_generator_test.rb | Arun Agrawal | 2012-04-16 | 2 | -8/+6 |
| | | | | | | | | Broken after this 6a054b0038bac288a1f6e45feb5470f4ee492081 | ||||
* | | Automatically create indexes for references/belongs_to statements in migrations. | Joshua Wood | 2012-04-14 | 1 | -0/+4 |
| | | |||||
* | | remove extra new line from generated Gemfile | Vasiliy Ermolovich | 2012-04-14 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-12 | 2 | -2/+5 |
|\ | |||||
| * | copy editing [ci skip] | Vijay Dev | 2012-04-11 | 1 | -3/+2 |
| | | |||||
| * | Fix code example in generator test case | Prem Sichanugrist | 2012-04-09 | 1 | -2/+2 |
| | | |||||
| * | Added instructions on port number | Gaurish Sharma | 2012-04-09 | 1 | -0/+4 |
| | | |||||
* | | "rails new -h" shows message in rails directory | ask | 2012-04-09 | 2 | -3/+17 |
| | | |||||
* | | Fix a couple more script[type=text/javascript] tests affected by #5748 | Jeremy Kemper | 2012-04-08 | 2 | -8/+8 |
| | | |||||
* | | Merge pull request #5748 from ai/no_type_in_html5 | Jeremy Kemper | 2012-04-08 | 4 | -5/+5 |
|\ \ | | | | | | | Remove unnecessary in HTML 5 type attribute with default value |