Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | 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 | |||||
| * | | | | Remove unnecessary in HTML 5 type attribute with default value | Andrey A.I. Sitnik | 2012-04-05 | 4 | -5/+5 | |
| | | | | | ||||||
* | | | | | Class variables has been fixed to Singleton instance variables at Rails module | Roman V. Babenko | 2012-04-06 | 1 | -7/+7 | |
| |/ / / |/| | | | ||||||
* | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-05 | 2 | -14/+13 | |
|\ \ \ \ | |/ / / |/| | | | ||||||
| * | | | minor fixes [ci skip] | Vijay Dev | 2012-04-05 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | added example, removed blank lines | Hrvoje Šimić | 2012-04-04 | 2 | -14/+13 | |
| | | | | ||||||
* | | | | Merge pull request #5716 from jurriaan/tr-gsub-cleanup | Santiago Pastorino | 2012-04-04 | 4 | -4/+4 | |
|\ \ \ \ | |/ / / |/| | | | Updated/changed unneeded tr/gsubs | |||||
| * | | | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 4 | -4/+4 | |
| | | | | ||||||
* | | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-04-04 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: guides/source/engines.textile | |||||
| * | | | | Correct invalid route example [ci skip] | Cezary Baginski | 2012-04-02 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | use File.binread to pull in the schema cache | Aaron Patterson | 2012-04-03 | 1 | -1/+1 | |
| |/ / / |/| | | | ||||||
* | | | | Merge pull request #5708 from romanvbabenko/refactor/add_gem_filters | Aaron Patterson | 2012-04-02 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | Unnecessary uniqueness & force mapping has been removed at BacktraceClea... | |||||
| * | | | | Unnecessary uniqueness & force mapping has been removed at ↵ | Roman V. Babenko | 2012-04-03 | 1 | -1/+1 | |
| |/ / / | | | | | | | | | | | | | BacktraceCleaner#add_gem_filters | |||||
* | | | | Usage file in generators shouldn't be fetched only based on source_root | Piotr Sarnacki | 2012-04-01 | 3 | -5/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`. | |||||
* | | | | Merge pull request #5684 from arunagw/warning_removed_railties | Vijay Dev | 2012-04-01 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / |/| | | | warning removed: `&' interpreted as argument prefix | |||||
| * | | | warning removed: `&' interpreted as argument prefix | Arun Agrawal | 2012-03-31 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Remove not needed requires | Santiago Pastorino | 2012-03-31 | 1 | -1/+0 | |
|/ / / | ||||||
* | | | use tsort_each to avoid intermediary array | Aaron Patterson | 2012-03-30 | 1 | -1/+1 | |
| | | | ||||||
* | | | Define Paths::Root#[]= in terms of #add. | Ben Woosley | 2012-03-29 | 1 | -2/+1 | |
| | | | ||||||
* | | | Drop Paths::Root initializer check of #path as it isn't checked in the ↵ | Ben Woosley | 2012-03-29 | 2 | -5/+0 | |
| | | | | | | | | | | | | #path= or anywhere else |