aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* do not require ruby-debug automatically. please require it if you have ↵Aaron Patterson2010-11-191-11/+0
| | | | declared it as a dependency
* guides: gives clear instructions for feedback, removes links to the now ↵Xavier Noria2010-11-1930-70/+37
| | | | archived LH project
* Ensure that initializers are executed before loading rake tasksPiotr Sarnacki2010-11-181-0/+16
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Facepunch failing tests.José Valim2010-11-182-9/+9
|
* Add config.action_controller.include_all_helpers, by default it is set to true.Piotr Sarnacki2010-11-181-0/+60
| | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false.
* Tidy up generators commits.José Valim2010-11-174-15/+10
|
* Fix generators tests on ruby 1.9Piotr Sarnacki2010-11-171-6/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Update the version.rb files to include a PRE partCarl Lerche2010-11-161-2/+2
|
* Do not run migrations from mounted engine separately.Piotr Sarnacki2010-11-161-2/+0
| | | | | | | | | There is no good way now to run migrations for mounted engine in test application, but that way of running migrations makes it really hard to run engine in development mode and test it (you need to copy migrations in dev mode and in that case in tests they will be run twice). Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix plugin new --mountable: ActionController instead of ActiveControllerPiotr Sarnacki2010-11-162-2/+2
|
* Change inside_namespace method to inside_template and use it in all ↵Piotr Sarnacki2010-11-166-31/+20
| | | | | | | | | | templates by default The initial implementation of namespacing was based on wrong assumptions. Namespacing path and class names in templates should be based on current namespace and skip_namespace attribute, but it should be not necessary to wrap content on all the templates into additional block methods.
* Fix misspelling of 'deprecation' in plugin_generator.Doug Ireton2010-11-162-2/+2
|
* Fix failing tests.José Valim2010-11-161-29/+7
|
* updated the rails guide to reflect changes in the action view railtie ↵Josh Kalderimis2010-11-161-5/+5
| | | | relating to the asset id cache code
* Do not allow to use plugin_new generator directly, you should use Usage:Piotr Sarnacki2010-11-162-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rails new APP_PATH [options] Options: -G, [--skip-git] # Skip Git ignores and keeps -r, [--ruby=PATH] # Path to the Ruby binary of your choice # Default: /Users/drogus/.rvm/rubies/ruby-1.8.7-p302/bin/ruby -b, [--builder=BUILDER] # Path to an application builder (can be a filesystem path or URL) [--edge] # Setup the application with Gemfile pointing to Rails repository [--dev] # Setup the application with Gemfile pointing to your Rails checkout [--skip-gemfile] # Don't create a Gemfile -d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db) # Default: sqlite3 -O, [--skip-active-record] # Skip Active Record files -m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL) -J, [--skip-prototype] # Skip Prototype files -T, [--skip-test-unit] # Skip Test::Unit files Runtime options: -s, [--skip] # Skip files that already exist -p, [--pretend] # Run but do not make any changes -f, [--force] # Overwrite files that already exist -q, [--quiet] # Supress status output Rails options: -v, [--version] # Show Rails version number and quit -h, [--help] # Show this help message and quit Description: The 'rails new' command creates a new Rails application with a default directory structure and configuration at the path you specify. Example: rails new ~/Code/Ruby/weblog This generates a skeletal Rails installation in ~/Code/Ruby/weblog. See the README in the newly created application to get going. command
* Allow running `rails plugin new` command inside rails applicationPiotr Sarnacki2010-11-162-6/+17
|
* Bye bye bang bang.Piotr Sarnacki2010-11-161-1/+1
|
* There is no need to make isolated? method with bang-bang, just alias isolatedPiotr Sarnacki2010-11-161-4/+1
|
* Deprecate plugin generatorPiotr Sarnacki2010-11-162-6/+19
|
* Add skip-gemspec option to 'plugin new' generatorPiotr Sarnacki2010-11-162-7/+15
|
* Update changelog with rails plugin newPiotr Sarnacki2010-11-161-1/+3
|
* Don't need to support rails plugin --versionPiotr Sarnacki2010-11-161-6/+0
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-11-159-31/+50
|\
| * Add HTTP Verb Constraints (:via) to routing guideJames Miller2010-11-151-0/+20
| |
| * Merge branch 'master' of github.com:lifo/docrailsJaime Iniesta2010-11-151-1/+1
| |\
| | * deliver_* is no moreAditya Sanghi2010-11-141-1/+1
| | |
| * | Getting Started guide: remove calls to f.error_messages as it has been ↵Jaime Iniesta2010-11-151-8/+0
| |/ | | | | | | removed from Rails
| * removed unnecessary indentationRajinder Yadav2010-11-141-1/+1
| |
| * added note with example for using flash in redirectionRajinder Yadav2010-11-141-0/+7
| |
| * corrected sample code to clear @_current_user class variable alsoRajinder Yadav2010-11-141-1/+1
| |
| * the partial option is not required for simple partial renderingRajinder Yadav2010-11-131-1/+1
| |
| * colorize_logging is a Rails General Configuration option not a specific ↵Paco Guzman2010-11-131-3/+3
| | | | | | | | option of ActiveRecord
| * Fixed the name of the 'generator option'Frederick Ros2010-11-111-1/+1
| |
| * this reads better, i don't know what the other 'so on' are, doesn't help ↵Rajinder Yadav2010-11-091-1/+1
| | | | | | | | reader imho
| * added missing word to clear up meaning in my previous commitRajinder Yadav2010-11-091-1/+1
| |
| * Merge branch 'master' of github.com:lifo/docrailsRajinder Yadav2010-11-091-4/+4
| |\
| | * Use Rails.logger, not ActiveRecord::Base.loggerdmathieu2010-11-081-4/+4
| | | | | | | | | | | | Because everybody is not using ActiveRecord. And the logger is not specific to it.
| * | removed indentation, for code style consistency and readibilityRajinder Yadav2010-11-081-8/+8
| |/
| * removed etc. not requireRajinder Yadav2010-11-081-1/+1
| |
| * added missing space and minor rewordingRajinder Yadav2010-11-081-1/+1
| |
| * corrected to Rails 3 syntax for declaring resourcesRajinder Yadav2010-11-081-1/+1
| |
| * Fixes ActionMailer example errorFrancesc Esplugas2010-11-071-1/+1
| |
* | Change deprecated syntax and use f.submit instead of submit_tagSantiago Pastorino2010-11-141-4/+4
| |
* | Update the guides.José Valim2010-11-141-0/+6
| |
* | Update to JQuery 1.4.4Santiago Pastorino2010-11-121-344/+640
| | | | | | | | | | Check out http://blog.jquery.com/2010/11/11/jquery-1-4-4-release-notes/ for information on what's new.
* | Remove whitespaces and add missing test.José Valim2010-11-112-6/+12
| |
* | Merge remote branch 'drogus/plugin_new'José Valim2010-11-1153-319/+1279
|\ \ | | | | | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * | Allow to set dummy application path through optionsPiotr Sarnacki2010-11-082-1/+11
| | |
| * | Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-0311-5/+178
| | |
| * | Add --mountable option to 'plugin new' generator which generates full ↵Piotr Sarnacki2010-11-027-3/+52
| | | | | | | | | | | | mountable application (engine)