Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix indentation and newlines in generated engine | Piotr Sarnacki | 2010-12-16 | 2 | -2/+2 | |
| | ||||||
* | Skip creating migration if --skip option is passed to model generator [#6144 ↵ | Piotr Sarnacki | 2010-12-16 | 1 | -1/+1 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow to generate namespaced generators [#6140 state:resolved] | Piotr Sarnacki | 2010-12-16 | 1 | -2/+2 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Ensure asset_path defaults to nil for application | José Valim | 2010-12-09 | 2 | -1/+10 | |
| | ||||||
* | Merge remote branch 'drogus/dummy_tasks' | José Valim | 2010-12-09 | 7 | -15/+26 | |
|\ | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Refactor db:load:config to automatically pick additional migrations if ↵ | Piotr Sarnacki | 2010-12-09 | 2 | -15/+1 | |
| | | | | | | | | ENGINE_PATH is available | |||||
| * | Use Rails::Engine.find in commands.rb | Piotr Sarnacki | 2010-12-09 | 1 | -2/+1 | |
| | | ||||||
| * | Rails::Engine.find(path) - method to find engine by path | Piotr Sarnacki | 2010-12-09 | 3 | -8/+15 | |
| | | ||||||
| * | Rake tasks for managing database while development and testing of engines | Piotr Sarnacki | 2010-12-09 | 3 | -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 Sarnacki | 2010-12-09 | 1 | -0/+2 | |
| | | | | | | | | record is skipeed | |||||
* | | Clean up asset_host and asset_path. | José Valim | 2010-12-09 | 1 | -16/+3 | |
|/ | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-12-05 | 1 | -1/+1 | |
|\ | ||||||
| * | For templates' gem method, :env is deprecated, use :group instead | Ryan Bigg | 2010-12-01 | 1 | -1/+1 | |
| | | ||||||
* | | Allow http templates again, fix the broken test | Xavier Shay | 2010-11-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | [#5926 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Application templates should work with HTTPS too | Mikel Lindsaar | 2010-11-27 | 1 | -1/+1 | |
|/ | ||||||
* | Rakefiles are executables, and rake loads rake, not rakefile code | raggi | 2010-11-25 | 3 | -5/+3 | |
| | ||||||
* | Update to Prototype 1.7 | Santiago Pastorino | 2010-11-23 | 1 | -326/+407 | |
| | | | | [#6042 state:committed] | |||||
* | Ensure that app generator is not loaded twice to get rid of warnings | Piotr Sarnacki | 2010-11-22 | 1 | -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 Sarnacki | 2010-11-22 | 1 | -2/+4 | |
| | | | | | | already exists. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Minor fix on Rails:Railtie documentation | zhengjia | 2010-11-21 | 1 | -2/+2 | |
| | ||||||
* | do not require ruby-debug automatically. please require it if you have ↵ | Aaron Patterson | 2010-11-19 | 1 | -11/+0 | |
| | | | | declared it as a dependency | |||||
* | Tidy up generators commits. | José Valim | 2010-11-17 | 2 | -4/+2 | |
| | ||||||
* | Update the version.rb files to include a PRE part | Carl Lerche | 2010-11-16 | 1 | -2/+2 | |
| | ||||||
* | Do not run migrations from mounted engine separately. | Piotr Sarnacki | 2010-11-16 | 1 | -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 ActiveController | Piotr Sarnacki | 2010-11-16 | 1 | -1/+1 | |
| | ||||||
* | Change inside_namespace method to inside_template and use it in all ↵ | Piotr Sarnacki | 2010-11-16 | 6 | -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 Ireton | 2010-11-16 | 1 | -1/+1 | |
| | ||||||
* | Do not allow to use plugin_new generator directly, you should use Usage: | Piotr Sarnacki | 2010-11-16 | 1 | -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 application | Piotr Sarnacki | 2010-11-16 | 1 | -6/+11 | |
| | ||||||
* | Bye bye bang bang. | Piotr Sarnacki | 2010-11-16 | 1 | -1/+1 | |
| | ||||||
* | There is no need to make isolated? method with bang-bang, just alias isolated | Piotr Sarnacki | 2010-11-16 | 1 | -4/+1 | |
| | ||||||
* | Deprecate plugin generator | Piotr Sarnacki | 2010-11-16 | 1 | -0/+7 | |
| | ||||||
* | Add skip-gemspec option to 'plugin new' generator | Piotr Sarnacki | 2010-11-16 | 1 | -7/+10 | |
| | ||||||
* | Don't need to support rails plugin --version | Piotr Sarnacki | 2010-11-16 | 1 | -6/+0 | |
| | ||||||
* | Update to JQuery 1.4.4 | Santiago Pastorino | 2010-11-12 | 1 | -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é Valim | 2010-11-11 | 38 | -152/+665 | |
|\ | | | | | | | | | Conflicts: railties/test/generators/app_generator_test.rb | |||||
| * | Allow to set dummy application path through options | Piotr Sarnacki | 2010-11-08 | 1 | -1/+4 | |
| | | ||||||
| * | Fix scaffold generator to be aware of namespace in isolated engine | Piotr Sarnacki | 2010-11-03 | 10 | -5/+25 | |
| | | ||||||
| * | Add --mountable option to 'plugin new' generator which generates full ↵ | Piotr Sarnacki | 2010-11-02 | 6 | -3/+43 | |
| | | | | | | | | mountable application (engine) | |||||
| * | Add example rake task to 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 2 | -0/+5 | |
| | | ||||||
| * | create_dummy_app method that allows to easily create dummy application from ↵ | Piotr Sarnacki | 2010-11-02 | 3 | -37/+32 | |
| | | | | | | | | template | |||||
| * | Properly skip test unit in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 4 | -21/+17 | |
| | | ||||||
| * | Properly handle other databases in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 4 | -22/+29 | |
| | | ||||||
| * | Skip active record properly in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 | |
| | | ||||||
| * | Use rails integration tests by default in 'plugin new' generator | Piotr Sarnacki | 2010-11-02 | 5 | -15/+7 | |
| | | ||||||
| * | We don't need to configure ActionMailer in plugin's test helper, it's ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -4/+0 | |
| | | | | | | | | configured by dummy app | |||||
| * | Refactor app and plugin generators to use new Thor API | Piotr Sarnacki | 2010-11-02 | 2 | -20/+4 | |
| | | ||||||
| * | Make deep copy of application generators on engine initialization. | Piotr Sarnacki | 2010-11-02 | 2 | -1/+9 | |
| | | | | | | | | | | Otherwise nested hashes will be same objects for both application and engine, which will result in overwriting each others values on changes. | |||||
| * | Use application's generators defaults as engine defaults to not force users ↵ | Piotr Sarnacki | 2010-11-02 | 1 | -0/+1 | |
| | | | | | | | | to manually set it | |||||
| * | Do not create additional newline | Piotr Sarnacki | 2010-11-02 | 1 | -1/+1 | |
| | |