aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* adds USAGE to the generator generator USAGE (not sure this meta thing is any ↵Xavier Noria2010-08-231-2/+3
| | | | good at 8:12 AM with little coffee)
* Trifling typosRaphomet2010-08-212-3/+3
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* fixing typoNeeraj Singh2010-08-171-1/+1
|
* the (public) routing DSL does not accept symbols for get|post|put|delete|matchXavier Noria2010-08-171-4/+4
|
* Make sure apps upgrading from 2.3 get defaulted to UTF-8 (ht: parndt)wycats2010-08-151-1/+1
|
* Improve routes task code and print the application as :to => RackApp. [#5338 ↵José Valim2010-08-151-12/+24
| | | | state:resolved]
* make rake routes print the name of a Rack endpoint app [#5338 state:resolved]Mark Turner2010-08-151-3/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-1411-23/+23
| | | | 's/[ \t]*$//' -i {} \;)
* Moves local_request? to require.local?Santiago Pastorino2010-08-131-1/+1
| | | | [#5361 state:committed]
* Missed one spot for --skip-active-record, which means that new Gemfile isn't ↵Nick Sieger2010-08-111-1/+1
| | | | | | set up right Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Improve best_standards_support to use only IE=Edge in development modewycats2010-08-092-1/+5
|
* Merge remote branch 'docrails/master'Xavier Noria2010-08-052-22/+22
|\
| * standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-051-1/+1
| |
| * Fixed Railtie Rdoc examples not properly formatted [#4918 state:resolved]Simone Carletti2010-08-041-21/+21
| | | | | | | | Signed-off-by: Simone Carletti <weppos@weppos.net>
* | Revert "Put lib back on the autoload path"José Valim2010-08-041-1/+1
| | | | | | | | | | | | This was causing engines/gems to eager load everything in lib. Another fix is comming soon. This reverts commit 02a5842cd09bd75de4c2fdb6b474c6c0ff163ebf.
* | Put lib back on the autoload pathwycats2010-08-031-1/+1
| |
* | Refactor log-tailer to depend on File#eof? rather than File#mtimeCurtis Cablegram2010-08-031-4/+1
| | | | | | | | | | | | | | | | [#5220 state:resolved] Eliminate 1 instance variable and 1 local variable. Signed-off-by: José Valim <jose.valim@gmail.com>
* | Change log-tailer to properly track multi-byte characters.Curtis Cablegram2010-08-031-1/+1
|/ | | | | | | | When end-of-line is represented within a file as "\r\n", it is represented in memory as a single "\n". This patch eliminates the discrepancy between size on disk and size in memory. Signed-off-by: José Valim <jose.valim@gmail.com>
* Handle edge cases in the previous patch.José Valim2010-08-021-1/+2
|
* Improved how AppGenerator generates the application name. It now detects the ↵Fred Wu2010-08-021-1/+5
| | | | | | | | current app name whenever possible. This means that renaming the residing directory will not effect the app name generated by AppGenerator. [#5225 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Makes rails destroy scaffold don't duplicate routes.draw do |map| |map| when ↵Santiago Pastorino2010-08-021-1/+1
| | | | | | using the deprecated syntax [#5263 state:committed]
* Corrected the rake test:units and test:functionals description [#5251 ↵Prashant P. Shah2010-08-011-1/+1
| | | | | | state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* DHH forgot to remove JS, CSS in generated index.html [#5261 state:resolved]Johan Lundström2010-07-311-23/+0
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* the main page of the API generated by the doc:rails task is READMEXavier Noria2010-07-301-1/+1
|
* fix for rails app generator when using --pretend optionSteve Agalloco2010-07-301-1/+1
| | | | | | [#5245 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* This version is going to be outdated when new nokogiri versions are releasedSantiago Pastorino2010-07-291-1/+1
|
* edit pass to apply API guideline wrt the use of "# =>" in example codeXavier Noria2010-07-302-4/+4
|
* Add a header that tells Internet Explorer (all versions) to use the best ↵wycats2010-07-273-2/+3
| | | | | | available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin. This guarantees that the best available standards support will be used on the client.
* Fix app generator so that it uses the right app_name during rails:update ↵rohit2010-07-271-1/+1
| | | | | | rake task. [#5207 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* fix bad logic in determining if in rails app subdirChad Fowler2010-07-261-1/+2
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix deprecation message on info screenDavid Heinemeier Hansson2010-07-261-1/+1
|
* Prep for RCDavid Heinemeier Hansson2010-07-261-1/+1
|
* Fixes usage message when running rails without --dev on a cloned rails repoSantiago Pastorino2010-07-261-1/+1
|
* Merge remote branch 'docrails/master'Xavier Noria2010-07-261-1/+1
|\
| * Fix small middlewares typoJack Dempsey2010-07-241-1/+1
| |
* | Object#returning removedSantiago Pastorino2010-07-251-1/+0
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | application generation: --skip-testunit and --skip-activerecord renamed to ↵Xavier Noria2010-07-254-14/+14
|/ | | | | | | | --skip-test-unit and --skip-active-record respectively Reason is their proper spellings are "Test::Unit" and "Active Record". Option names and descriptions have been revised, as well as some method names and minor details here and there.
* Change some missing README -> README.rdocSantiago Pastorino2010-07-221-8/+8
|
* Make config.generators accept string namespaces, you can do now ↵Santiago Pastorino2010-07-211-0/+1
| | | | | | config.generators.test_framework 'rspec' for instance Signed-off-by: José Valim <jose.valim@gmail.com>
* We are doing the same in this conditionsSantiago Pastorino2010-07-211-3/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* This example is better for guides and gem/plugins docsSantiago Pastorino2010-07-201-7/+0
|
* Add console hook to force ActiveRecord::Base to be loaded when console ↵José Valim2010-07-183-12/+24
| | | | starts avoiding reference loops.
* Add skip_eager_load!, skip_autoload! and friends to path objects.José Valim2010-07-171-28/+12
|
* minor pass to generated code in application.rb related to :defaultsXavier Noria2010-07-161-3/+3
|
* Adds application.js when app is generated with -J and clear ↵Santiago Pastorino2010-07-172-0/+5
| | | | javascript_expansions[:defaults]
* Explain how to change javascript default filesSantiago Pastorino2010-07-171-0/+3
|
* upgrade prototype to be compatible with rails.js [#5109 state:committed]Andrew Kaspick2010-07-141-890/+2017
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Fixed many references to the old config/environment.rb and Rails::InitializerBenjamin Quorning2010-07-131-2/+2
|
* application.rb: revises the comment for autoload_paths so that is assumes ↵Xavier Noria2010-07-091-3/+3
| | | | less from the user, and unifies punctuation
* Allow a PID file to be specified to rails server [#5031 state:resolved]Sudara2010-07-081-0/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>