aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* AppGenerator: use options instead of @optionsPiotr Sarnacki2010-12-151-3/+3
|
* Kill whitespace!Piotr Sarnacki2010-12-151-3/+3
|
* Generate default layout in engine with --mountable optionPiotr Sarnacki2010-12-153-2/+7
|
* Fix generation of prototype files, it should work with --javascript ↵Piotr Sarnacki2010-12-152-2/+2
| | | | prototype, not --prototype
* Generate javascripts in engine with --mountable optionPiotr Sarnacki2010-12-153-5/+41
|
* Should be isolated engine instead of namespaced enginePiotr Sarnacki2010-12-151-1/+1
|
* Fix indentation and newlines in generated enginePiotr Sarnacki2010-12-142-2/+2
|
* Skip creating migration if --skip option is passed to model generator [#6144 ↵Piotr Sarnacki2010-12-111-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Allow to generate namespaced generators [#6140 state:resolved]Piotr Sarnacki2010-12-111-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
|
* There is no need to make isolated? method with bang-bang, just alias isolatedPiotr Sarnacki2010-11-161-4/+1
|
* Deprecate plugin generatorPiotr Sarnacki2010-11-161-0/+7
|
* Add skip-gemspec option to 'plugin new' generatorPiotr Sarnacki2010-11-161-7/+10
|
* Don't need to support rails plugin --versionPiotr Sarnacki2010-11-161-6/+0
|
* 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.
* Merge remote branch 'drogus/plugin_new'José Valim2010-11-1138-152/+665
|\ | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb
| * Allow to set dummy application path through optionsPiotr Sarnacki2010-11-081-1/+4
| |
| * Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-0310-5/+25
| |
| * Add --mountable option to 'plugin new' generator which generates full ↵Piotr Sarnacki2010-11-026-3/+43
| | | | | | | | mountable application (engine)
| * Add example rake task to 'plugin new' generatorPiotr Sarnacki2010-11-022-0/+5
| |
| * create_dummy_app method that allows to easily create dummy application from ↵Piotr Sarnacki2010-11-023-37/+32
| | | | | | | | template
| * Properly skip test unit in 'plugin new' generatorPiotr Sarnacki2010-11-024-21/+17
| |
| * Properly handle other databases in 'plugin new' generatorPiotr Sarnacki2010-11-024-22/+29
| |
| * Skip active record properly in 'plugin new' generatorPiotr Sarnacki2010-11-021-1/+1
| |