Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix db:fixtures:load with FIXTURES specified [#6061 state:resolved] | John Hawthorn | 2011-02-06 | 1 | -0/+17 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Correct migration name the test is looking to match. | Ben Orenstein | 2011-02-04 | 1 | -1/+1 |
| | | | | | | [#6375 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Configurable generation of add_index for references columns | Michał Łomnicki | 2011-02-01 | 1 | -0/+41 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Additionally trigger i18n configuration setup before any eager loading ↵ | Saimon Moore | 2011-02-01 | 1 | -0/+30 |
| | | | | | | | | | [#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Test non zero exit code and that a message still appears when generating ↵ | Philip Arndt | 2011-01-29 | 1 | -0/+11 |
| | | | | inside an existing Rails directory. | ||||
* | Dir.chdir is not useful in this test, that was for another one I am planning ↵ | Philip Arndt | 2011-01-29 | 1 | -4/+3 |
| | | | | to do. | ||||
* | Added test to ensure non zero exit codes when generating an application with ↵ | Philip Arndt | 2011-01-29 | 1 | -0/+7 |
| | | | | | | a reserved name. Unfortunately, I can't find out how to suppress its output so we see ....Invalid application name test. Please give a name which does not match one of the reserved rails words..................................... | ||||
* | change sqlite3-ruby => sqlite3 in the generators | Aaron Patterson | 2011-01-16 | 2 | -2/+2 |
| | |||||
* | README.rdoc is a template | Santiago Pastorino | 2011-01-15 | 1 | -0/+1 |
| | |||||
* | plugin new generator should generate config/routes.rb file for full engines | Santiago Pastorino | 2011-01-14 | 1 | -1/+3 |
| | |||||
* | Allow generators nested in more than one level | Santiago Pastorino | 2011-01-12 | 1 | -0/+8 |
| | |||||
* | remove locales external to the system before assertion | Aaron Patterson | 2011-01-12 | 1 | -5/+5 |
| | |||||
* | Add test cases for model and migration generators which use `change` method. | Prem Sichanugrist | 2011-01-04 | 1 | -0/+19 |
| | |||||
* | Use Rails 3.1 `change` method in 'add_' migration generator | Prem Sichanugrist | 2011-01-04 | 1 | -6/+1 |
| | |||||
* | Use Rails 3.1 `change` method in model generator | Prem Sichanugrist | 2011-01-04 | 1 | -6/+2 |
| | |||||
* | Make sure that generator's default banner is showing its namespace | Prem Sichanugrist | 2011-01-01 | 1 | -0/+10 |
| | | | | This will make `rails g rspec:install --help` shows "rails generate rspec:install [options]" and not "rails generate install [options]" | ||||
* | Do not take gems' i18n locales while testing locales paths | Piotr Sarnacki | 2010-12-31 | 1 | -2/+8 |
| | |||||
* | Small changes on AD::Reloader. | José Valim | 2010-12-20 | 1 | -3/+3 |
| | |||||
* | Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepare | John Firebaugh | 2010-12-20 | 1 | -4/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Introduce ActionDispatch::Reloader | John Firebaugh | 2010-12-20 | 1 | -0/+7 |
| | | | | | | | | | | | | 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> | ||||
* | More love for engines tests | Piotr Sarnacki | 2010-12-19 | 1 | -73/+61 |
| | |||||
* | Use assert_body | John Firebaugh | 2010-12-19 | 1 | -22/+14 |
| | |||||
* | Temporary fix for railties test for newest rack changes | Piotr Sarnacki | 2010-12-19 | 1 | -0/+8 |
| | |||||
* | Fix tests in railties | Piotr Sarnacki | 2010-12-18 | 2 | -13/+13 |
| | |||||
* | Generate add_index by default when giving type belongs_to or references | Santiago Pastorino | 2010-12-16 | 1 | -2/+5 |
| | |||||
* | Bring back config.action_view.cache_template_loading [#5847 state:resolved] | Piotr Sarnacki | 2010-12-16 | 1 | -0/+38 |
| | |||||
* | dragdrop was tested twice and effects.js was missing, added checks for ↵ | Santiago Pastorino | 2010-12-16 | 1 | -1/+4 |
| | | | | controls.js, dragdrop.js and effects.js to another test | ||||
* | Generate default layout in engine with --mountable option | Piotr Sarnacki | 2010-12-16 | 1 | -0/+1 |
| | |||||
* | Fix generation of prototype files, it should work with --javascript ↵ | Piotr Sarnacki | 2010-12-16 | 1 | -0/+3 |
| | | | | prototype, not --prototype | ||||
* | Generate javascripts in engine with --mountable option | Piotr Sarnacki | 2010-12-16 | 1 | -0/+29 |
| | |||||
* | Set proper engine's asset directories when assets are served from engine. | Piotr Sarnacki | 2010-12-16 | 1 | -0/+64 |
| | | | | | | | | | When using stylesheet_link_tag(:all) or javascript_include_tag(:all), assets directories are searched for css or js files. When config.serve_static_assets is set to true, those files can be served directly from engine's directories. That's why assets paths should be set individually for controllers inside engine if we want to serve static assets with ActionDispatch::Static | ||||
* | Skip creating migration if --skip option is passed to model generator [#6144 ↵ | Piotr Sarnacki | 2010-12-16 | 1 | -3/+15 |
| | | | | | | 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 | -0/+39 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure asset_path defaults to nil for application | José Valim | 2010-12-09 | 1 | -0/+5 |
| | |||||
* | Rails::Engine.find(path) - method to find engine by path | Piotr Sarnacki | 2010-12-09 | 1 | -0/+19 |
| | |||||
* | Rake tasks for managing database while development and testing of engines | Piotr Sarnacki | 2010-12-09 | 1 | -1/+1 |
| | | | | | | | | | | | | 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 | ||||
* | Application templates should work with HTTPS too | Mikel Lindsaar | 2010-11-27 | 1 | -0/+9 |
| | |||||
* | Do not create table_name_prefix method on isolated module if the method ↵ | Piotr Sarnacki | 2010-11-22 | 1 | -0/+19 |
| | | | | | | already exists. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Ensure that initializers are executed before loading rake tasks | Piotr Sarnacki | 2010-11-18 | 1 | -0/+16 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Facepunch failing tests. | José Valim | 2010-11-18 | 2 | -9/+9 |
| | |||||
* | Add config.action_controller.include_all_helpers, by default it is set to true. | Piotr Sarnacki | 2010-11-18 | 1 | -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é Valim | 2010-11-17 | 2 | -11/+8 |
| | |||||
* | Fix generators tests on ruby 1.9 | Piotr Sarnacki | 2010-11-17 | 1 | -6/+8 |
| | | | | 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 |
| | |||||
* | Fix misspelling of 'deprecation' in plugin_generator. | Doug Ireton | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Fix failing tests. | José Valim | 2010-11-16 | 1 | -29/+7 |
| | |||||
* | Do not allow to use plugin_new generator directly, you should use Usage: | Piotr Sarnacki | 2010-11-16 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -0/+6 |
| | |||||
* | Deprecate plugin generator | Piotr Sarnacki | 2010-11-16 | 1 | -6/+12 |
| | |||||
* | Add skip-gemspec option to 'plugin new' generator | Piotr Sarnacki | 2010-11-16 | 1 | -0/+5 |
| |