aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'jose/generators'Yehuda Katz2009-08-311-0/+1
|\
| * Change div.attribute to div.field and add some _form to tests.José Valim2009-08-301-0/+1
| |
* | I18n support for pluginsAntonio Tapiador del Dujo2009-08-303-0/+11
|/ | | | | | | | | | 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-105-12/+29
| | | | generators wherever they want.
* Fixed generating a namespaced model with table pluralization turned off. Add ↵Hugo Peixoto2009-08-091-0/+44
| | | | | | | | tests for namespaced model generation. [#767 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add a .tmp pathYehuda Katz2009-08-091-1/+2
|
* Users can now pass :branch for git plugins and :revision for subversion pluginsMatt Duncan2009-08-081-0/+15
| | | | | | [#2352 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Improved coverage for session_migration generator. [#3008 status:resolved]José Valim2009-08-081-2/+6
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed reference to AR::SessionStore::Session.table_name in session migrationsElad Meidar2009-08-081-0/+14
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* 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.
* Rename Rails::Generators::ActionORM to Rails::Generators::ActiveModel.José Valim2009-08-081-1/+1
|
* Allow rails templates relative to the current path to be given.José Valim2009-08-073-1/+7
|
* Merge branch 'master' of git://github.com/rails/railsJosé Valim2009-07-283-4/+34
|\
| * make pass through error code configurable [#2817 state:resolved]John Duff2009-07-223-4/+34
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Ensure that not namespaced generators also load RAILS_ROOT/lib/templates files.José Valim2009-07-281-0/+5
| |
* | Ensure that developers options are overwritten by user options.José Valim2009-07-281-0/+14
| |
* | Updated vendored thor to 0.11.3.José Valim2009-07-231-35/+0
| |
* | Allow nested and multiple fallbacks for generators.José Valim2009-07-211-5/+11
| |
* | Modified rake tasks to use new app generator structure and updated Thor version.José Valim2009-07-161-0/+13
| |
* | Implemented generaators fallbacks.José Valim2009-07-161-0/+14
| |
* | Change generators configuration to have a hash style.José Valim2009-07-151-29/+18
| |
* | Added source_paths to rails generators. If a template is added to ↵José Valim2009-07-151-1/+19
| | | | | | | | RAILS_ROOT/lib/templates/base/generator it will be used. For example, to customize edit.html.erb template on scaffold, just add a customized copy at RAILS_ROOT/lib/templates/erb/scaffold.
* | Change false to :verbose => false as in new Thor version.José Valim2009-07-154-16/+23
| |
* | Allow nil and false to be given as configuration values and avoid creating ↵José Valim2009-07-151-2/+2
| | | | | | | | unecessary hashes.
* | Allow namespaced configuration on generators.José Valim2009-07-151-17/+43
| |
* | Refactored some generators to make use of improved invocations on thor.José Valim2009-07-151-6/+5
| |
* | Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-1418-18/+18
| |
* | Added a generator generator.José Valim2009-07-131-0/+26
| |
* | Ensure non timestamped migrations are generated properly.José Valim2009-07-131-0/+11
| |
* | Remove generator environment until we have a gem manifest.José Valim2009-07-131-8/+0
| |
* | Add the new generators environment and update commands.José Valim2009-07-086-10/+10
| |
* | Generators are configured on initialization if RAILS_ENV=generators.José Valim2009-07-081-15/+72
| |
* | Added config.generators with tests.José Valim2009-07-081-0/+29
| |
* | Merge branch 'master' of git://github.com/rails/railsJosé Valim2009-07-085-32/+141
|\|
| * Get Initializer tests running without requiring parts of Rails being loaded ↵Yehuda Katz + Carl Lerche2009-07-064-28/+53
| | | | | | | | first
| * Reapply Rails::Application::Path tweaksYehuda Katz + Carl Lerche2009-07-061-4/+88
| | | | | | | | | | Reapplies: a4bdc00fec623f72592e663e6d7830eea0bc6ea4 3c1dab72259d01c6335bf359d7f9b3af69d45bb4
* | Make specs pass on Ruby 1.9.José Valim2009-07-062-20/+11
| |
* | Load generators from user home and show a error message if they can't be loaded.José Valim2009-07-042-1/+10
| |
* | Allow scaffold controller to load action_orm files on demand.José Valim2009-07-041-1/+1
| |
* | Ensure that rails templates methods are invoked with the proper extensions ↵José Valim2009-07-041-0/+18
| | | | | | | | [#2531 status:resolved]
* | Use the proper shebang when using Ruby 1.9 or jruby or windows.José Valim2009-07-041-0/+15
| |
* | Make generators test pass with latest Thor versionJosé Valim2009-07-041-3/+3
| |
* | Search for generators on vendorized plugins and gems.José Valim2009-07-043-5/+9
| |
* | Add some tests for no_color! behavior.José Valim2009-07-031-4/+11
| |
* | More tests for rails generators and lookup.José Valim2009-07-0311-7/+99
| |
* | Removed remaining old generators files.José Valim2009-07-033-160/+7
| |
* | Plugin generators now reflect new generators sutrcture.José Valim2009-07-031-4/+3
| |
* | Added lookup to generators.José Valim2009-07-0312-49/+6
| |
* | Merge branch 'master' of git://github.com/rails/railsJosé Valim2009-07-037-16/+178
|\|
| * Revert "Modify the Rails::Application::Path object to allow for more concise ↵Pratik Naik2009-07-031-88/+4
| | | | | | | | | | | | | | | | path definition." This reverts commit 913bb2f4c2feb79dcbc9ed2c0fb1ef6d436f7d02. Reason : The server does not start