aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that generator's default banner is showing its namespacePrem Sichanugrist2011-01-011-1/+1
| | | | This will make `rails g rspec:install --help` shows "rails generate rspec:install [options]" and not "rails generate install [options]"
* Update JQuery UJSSantiago Pastorino2010-12-261-26/+48
|
* Update Prototype UJSSantiago Pastorino2010-12-261-29/+43
|
* Small changes on AD::Reloader.José Valim2010-12-201-1/+2
|
* Use AD::Reloader.to_cleanup for reloading [#2873 state:resolved]John Firebaugh2010-12-201-5/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-203-5/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-201-0/+1
| | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove require AS::Concern from places where is already inSantiago Pastorino2010-12-191-2/+0
|
* Fix indentationSantiago Pastorino2010-12-191-3/+3
|
* Use Concern in Rails::Railtie::ConfigurableSantiago Pastorino2010-12-191-3/+3
|
* Refactoring of application's task in engine.rakePiotr Sarnacki2010-12-191-20/+23
|
* Do not load all application's task in generated enginePiotr Sarnacki2010-12-192-6/+69
|
* Use require 'bundler/setup' instead of directly calling Bundler.setup in ↵Piotr Sarnacki2010-12-171-10/+3
| | | | config/boot.rb
* Allow to use BUNDLE_GEMFILE env variable in boot.rb [#6184 state:resolved]Piotr Sarnacki2010-12-171-1/+1
|
* AppGenerator: use options instead of @optionsPiotr Sarnacki2010-12-161-3/+3
|
* Kill whitespace!Piotr Sarnacki2010-12-161-3/+3
|
* Generate default layout in engine with --mountable optionPiotr Sarnacki2010-12-163-2/+7
|
* Fix generation of prototype files, it should work with --javascript ↵Piotr Sarnacki2010-12-162-2/+2
| | | | prototype, not --prototype
* Generate javascripts in engine with --mountable optionPiotr Sarnacki2010-12-163-5/+41
|
* Should be isolated engine instead of namespaced enginePiotr Sarnacki2010-12-161-1/+1
|
* Fix indentation and newlines in generated enginePiotr Sarnacki2010-12-162-2/+2
|
* Skip creating migration if --skip option is passed to model generator [#6144 ↵Piotr Sarnacki2010-12-161-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow to generate namespaced generators [#6140 state:resolved]Piotr Sarnacki2010-12-161-2/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure asset_path defaults to nil for applicationJosé Valim2010-12-092-1/+10
|
* Merge remote branch 'drogus/dummy_tasks'José Valim2010-12-097-15/+26
|\ | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Refactor db:load:config to automatically pick additional migrations if ↵Piotr Sarnacki2010-12-092-15/+1
| | | | | | | | ENGINE_PATH is available
| * Use Rails::Engine.find in commands.rbPiotr Sarnacki2010-12-091-2/+1
| |
| * Rails::Engine.find(path) - method to find engine by pathPiotr Sarnacki2010-12-093-8/+15
| |
| * Rake tasks for managing database while development and testing of enginesPiotr Sarnacki2010-12-093-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | Some of the engines needs database. As engine needs to be run inside Rails application, migrations and other database operations are run from dummy application. To make that process simple I changed db tasks to look for migrations in both engine's and application's db/migrate directory. You can run all of the database tasks from test/dummy or directly from engine with prefix app, like: rake app:db:migrate rake app:db:migrate:redo
| * Do not require fixtures in example integration test in engine if active ↵Piotr Sarnacki2010-12-091-0/+2
| | | | | | | | record is skipeed
* | Clean up asset_host and asset_path.José Valim2010-12-091-16/+3
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-12-051-1/+1
|\
| * For templates' gem method, :env is deprecated, use :group insteadRyan Bigg2010-12-011-1/+1
| |
* | Allow http templates again, fix the broken testXavier Shay2010-11-271-1/+1
| | | | | | | | | | | | [#5926 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Application templates should work with HTTPS tooMikel Lindsaar2010-11-271-1/+1
|/
* Rakefiles are executables, and rake loads rake, not rakefile coderaggi2010-11-253-5/+3
|
* Update to Prototype 1.7Santiago Pastorino2010-11-231-326/+407
| | | | [#6042 state:committed]
* Ensure that app generator is not loaded twice to get rid of warningsPiotr Sarnacki2010-11-221-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Do not create table_name_prefix method on isolated module if the method ↵Piotr Sarnacki2010-11-221-2/+4
| | | | | | already exists. Signed-off-by: José Valim <jose.valim@gmail.com>
* Minor fix on Rails:Railtie documentationzhengjia2010-11-211-2/+2
|
* do not require ruby-debug automatically. please require it if you have ↵Aaron Patterson2010-11-191-11/+0
| | | | declared it as a dependency
* Tidy up generators commits.José Valim2010-11-172-4/+2
|
* 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-161-1/+1
|
* 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-161-1/+1
|
* Do not allow to use plugin_new generator directly, you should use Usage:Piotr Sarnacki2010-11-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-6/+11
|
* Bye bye bang bang.Piotr Sarnacki2010-11-161-1/+1
|