aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
| | |
* | | Merge pull request #5869 from LachyGroom/patch-1Piotr Sarnacki2012-04-171-1/+1
|\ \ \ | | | | | | | | Changes b tag to strong
| * | | Changes b tag to strong CollectiveJam2012-04-161-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 Dev2012-04-181-2/+4
| | | | | | | | | | | | | | | | belongs_to. Refactoring it to a simpler form and fixing the build
* | | | let's not use `and` in place of `&&`Vijay Dev2012-04-181-1/+1
| |/ / |/| |
* | | Fix testSantiago Pastorino2012-04-161-2/+2
|/ /
* | Merge pull request #5835 from asanghi/masterJeremy Kemper2012-04-161-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 Sanghi2012-04-141-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 templateRodrigo Rosenfeld Rosas2012-04-161-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.rbArun Agrawal2012-04-162-8/+6
| | | | | | | | | | | | Broken after this 6a054b0038bac288a1f6e45feb5470f4ee492081
* | | Automatically create indexes for references/belongs_to statements in migrations.Joshua Wood2012-04-141-0/+4
| | |
* | | remove extra new line from generated GemfileVasiliy Ermolovich2012-04-141-1/+1
|/ /
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-122-2/+5
|\ \
| * | copy editing [ci skip]Vijay Dev2012-04-111-3/+2
| | |
| * | Fix code example in generator test casePrem Sichanugrist2012-04-091-2/+2
| | |
| * | Added instructions on port numberGaurish Sharma2012-04-091-0/+4
| | |
* | | "rails new -h" shows message in rails directoryask2012-04-092-3/+17
| | |
* | | Fix a couple more script[type=text/javascript] tests affected by #5748Jeremy Kemper2012-04-082-8/+8
| | |
* | | Merge pull request #5748 from ai/no_type_in_html5Jeremy Kemper2012-04-084-5/+5
|\ \ \ | | | | | | | | Remove unnecessary in HTML 5 type attribute with default value
| * | | Remove unnecessary in HTML 5 type attribute with default valueAndrey A.I. Sitnik2012-04-054-5/+5
| | | |
* | | | Class variables has been fixed to Singleton instance variables at Rails moduleRoman V. Babenko2012-04-061-7/+7
| |/ / |/| |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-052-14/+13
|\ \ \ | |/ / |/| |
| * | minor fixes [ci skip]Vijay Dev2012-04-051-2/+2
| | |
| * | added example, removed blank linesHrvoje Šimić2012-04-042-14/+13
| | |
* | | Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-044-4/+4
|\ \ \ | |/ / |/| | Updated/changed unneeded tr/gsubs
| * | Updated/changed useless tr/gsubsJurriaan Pruis2012-04-034-4/+4
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: guides/source/engines.textile
| * | | Correct invalid route example [ci skip]Cezary Baginski2012-04-021-1/+1
| | | |
* | | | use File.binread to pull in the schema cacheAaron Patterson2012-04-031-1/+1
| |/ / |/| |