aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* create_dummy_app method that allows to easily create dummy application from ↵Piotr Sarnacki2010-11-022-4/+11
| | | | template
* Make tests for app and plugin generators more DRYPiotr Sarnacki2010-11-025-14/+14
|
* Allow easy overriding of test framework in 'rake plugin new' generator, ↵Piotr Sarnacki2010-11-021-0/+13
| | | | using PluginBuilder
* Added 'rails plugin new' generator which generates gem plugin skeleton.Piotr Sarnacki2010-11-023-0/+16
| | | | | | This command is based on enginex gem by José Valim. It generates gem structure and ads dummy application into test/dummy. This can be used to start developing any kind of extension for rails 3.
* It would be nice to actually commit test fixturesCarlhuda2010-04-303-0/+16
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-232-1/+1
| | | | former since it's less obstrusive.
* Remove old fixtures files.José Valim2010-01-2620-53/+0
|
* Give higher priority to rails generators.José Valim2010-01-212-0/+1
|
* More cleaning up on rails generators load path.José Valim2010-01-185-9/+1
|
* Rewrite Metal testsJoshua Peek2010-01-106-34/+0
|
* Scaffolding generates new routing dsl examplesJoshua Peek2009-12-091-1/+1
|
* Also load generators at lib/rails_generators.José Valim2009-11-231-0/+0
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Avoid duplicated names on help description and show proper error message if ↵José Valim2009-11-031-0/+4
| | | | | | trying to load a Rails 2.x generator. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move Rails::Static into ActionDispatchJoshua Peek2009-09-263-3/+0
|
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-1/+1
|
* I18n support for pluginsAntonio Tapiador del Dujo2009-08-301-0/+2
| | | | | | | | | | Rails will now automatically add locale files found in any engine's locale directory to the I18n.load_path (i.e. files that match the glob pattern "config/locales/**/*.{rb,yml}" relative to engine directories). [#2325 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use less strict rules in generators lookup, so people can lay their ↵José Valim2009-08-102-0/+2
| | | | generators wherever they want.
* Added rubygems to generators load_paths, but we only load generators from ↵José Valim2009-08-082-0/+0
| | | | gems that are alraedy activated. This fixes the version problem and avoid silly conflicts.
* Allow rails templates relative to the current path to be given.José Valim2009-08-071-0/+1
|
* Merge branch 'master' of git://github.com/rails/railsJosé Valim2009-07-282-4/+4
|\
| * make pass through error code configurable [#2817 state:resolved]John Duff2009-07-222-4/+4
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Load generators from user home and show a error message if they can't be loaded.José Valim2009-07-041-0/+3
| |
* | Search for generators on vendorized plugins and gems.José Valim2009-07-042-4/+2
| |
* | More tests for rails generators and lookup.José Valim2009-07-038-2/+14
|/
* update metal fixtures to be ruby 1.9 compatJoshua Peek2009-03-156-6/+6
|
* Make sure Metal use ActionController class name conventions [#2242 ↵Luca Guidi2009-03-151-0/+5
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure public folder structure is setup correctly if the tests are ran out ↵Joshua Peek2009-03-103-0/+3
| | | | of order, fixes tests in 0c9bbf8
* Raise LoadError instead of a runtime exception [#1498 state:resolved]karmi2009-03-071-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Enhanced Rails Metal - the load order of metals can now be configured [#2057 ↵Simon Jefford2009-03-035-0/+29
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Metal can now line in plugins under app/metal [#2045 state:committed]Matthew Rudy Jacobs2009-02-271-0/+10
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added view path support for engines [DHH]David Heinemeier Hansson2008-11-271-1/+1
|
* Added that config/routes.rb files in engine plugins are automatically loaded ↵David Heinemeier Hansson2008-11-264-0/+10
| | | | (and reloaded when they change in dev mode) [DHH]
* Initializer to sort files before eager loading. [#859 state:resolved]Tom Ward2008-08-222-0/+5
| | | | | | | | Changed Rails::Initializer to sort files before eager loading them. This ensures that any files in a parent directory will be loaded before files in a subdirectory of the 'same' name. i.e. zoo.rb will be loaded before zoo/reptile_house.rb Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make plugins initialize also from rails/init.rb to ensure consistency with ↵Jacek Becela2008-06-083-0/+10
| | | | | | gems used as plugins [#272 state:resolved]
* Merge docrails.Pratik Naik2008-05-251-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Use .gitignore as the convention for dummy file names.Joshua Peek2008-04-246-0/+0
|
* Add .empty files to empty directories so git preserves them.Joshua Peek2008-04-216-0/+0
|
* Add back empty plugin folders that were lost when we moved to git.Joshua Peek2008-04-213-0/+0
|
* Missing test dataDavid Heinemeier Hansson2008-03-274-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/generate would not look for plugin generators in ↵David Heinemeier Hansson2008-03-132-0/+8
| | | | | | plugin_paths (closes #11000) [glv] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Canonicalize configuration.root_path and replace RAILS_ROOT.Jeremy Kemper2007-03-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Split plugin location and loading out of the initializer and into a new ↵Marcel Molina2007-03-021-0/+0
| | | | | | Plugin namespace, which includes Plugin::Locater and Plugin::Loader. The loader class that is used can be customized using the config.plugin_loader option. Those monkey patching the plugin loading subsystem take note, the internals changing here will likely break your modifications. The good news is that it should be substantially easier to hook into the plugin locating and loading process now. [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Railties: generator tests passingJeremy Kemper2006-08-292-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise in stubby/init.rb if it doesn't have access to directory or config. ↵Jeremy Kemper2005-11-071-1/+6
| | | | | | loaded_plugins is a set of plugin names (so it will be usable with multiple paths, gems, etc). git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New configuration option config.plugin_paths which may be a single path like ↵Jeremy Kemper2005-11-073-1/+5
| | | | | | the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. Plugins are discovered in nested paths, so you can organize your plugins directory as you like. Refactor load_plugin from load_plugins. Simplify initializer unit test. Closes #2757. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Constants set in the development/test/production environment file are set in ↵Jamis Buck2005-10-231-0/+1
Object git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de