aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Require rubygems in generators test so Action Dispatch can find rackJeremy Kemper2009-09-141-1/+3
|
* Style bikeshed: prefer obvious string paths with / separator to args lists ↵Jeremy Kemper2009-09-141-6/+6
| | | | with ', ' separator
* Fix deprecated gem-name requiresJeremy Kemper2009-09-141-1/+1
|
* Cherry-pick core extensions. Don't explicitly require rubygems. Use load ↵Jeremy Kemper2009-09-142-13/+12
| | | | path for vendored thor.
* Ruby 1.9 compat: Avoid using the return value of FileUtils.mkdir_p, as it ↵Akira Matsuda2009-09-111-1/+1
| | | | | | | | does not return a String but an Array in Ruby 1.9 [#2018 state:committed milestone:2.3.5] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add gem load paths after loading environmentJoshua Peek2009-09-111-9/+9
|
* Vendor the latest version of the bundlerCarl Lerche2009-09-0330-811/+1389
|
* Make Sam Ruby's test suite happyYehuda Katz2009-09-011-0/+4
|
* Add required dependencies on activemodelCarl Lerche2009-09-011-2/+2
|
* Merge branch 'master' of git@github.com:rails/railsCarl Lerche2009-09-0160-197/+418
|\
| * Railties test helpers need to activate rack gemJoshua Peek2009-09-013-1/+10
| |
| * Rails::Info doesn't require version for unwanted frameworksGeoff Buesing2009-09-011-2/+4
| | | | | | | | | | | | [#3124 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Initializer middleware helper needs to require actioncontrollerJoshua Peek2009-08-311-0/+1
| |
| * Add rake gemspec and gemspecs to the repoYehuda Katz2009-08-312-0/+57
| |
| * Merge commit 'jose/generators'Yehuda Katz2009-08-313-3/+4
| |\
| | * Change div.attribute to div.field and add some _form to tests.José Valim2009-08-303-3/+4
| | |
| * | Changing plugin loader to use blocks instead of Symbol#to_proc to ensure ↵Jay Pignata2009-08-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | tests run without activesupport [#3118 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * | I18n support for pluginsAntonio Tapiador del Dujo2009-08-306-0/+32
| |/ | | | | | | | | | | | | | | | | | | 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>
| * Ensure scaffold works properly even if plural name is given. [#3062]José Valim2009-08-308-81/+137
| |
| * Remove inline css. [#593 status:resolved]José Valim2009-08-302-1/+5
| |
| * Change scaffold to use _form as partial and div's instead of paragraphs. ↵José Valim2009-08-306-31/+25
| | | | | | | | [#1760 status:resolved]
| * Rails templates git command runs inside another directory [#2466 ↵David Calavera2009-08-301-7/+5
| | | | | | | | | | | | status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fix spelling in Rails 'generator' generator. [#3080 status:resolved]Rodrigo Rosenfeld Rosas2009-08-301-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Update vendored thor.José Valim2009-08-3031-73/+138
| |
* | Make sure all needed files get added to the rails gemCarl Lerche2009-08-291-1/+1
|/
* Prefer utf8_unicode_ci (better) over utf8_general_ci (faster)Jeremy Kemper2009-08-271-1/+1
|
* Remove support for SQLite 2.Pratik Naik2009-08-172-20/+1
| | | | If you're still using it, please install the plugin from git://github.com/rails/sqlite2_adapter.git
* Use less strict rules in generators lookup, so people can lay their ↵José Valim2009-08-107-68/+64
| | | | generators wherever they want.
* find_cmd should return the full path of the db commandKamal Fariz Mahyuddin2009-08-101-4/+8
| | | | | | [#1488 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Only load db/schema.rb if it exists; otherwise, display a message to run ↵Joshua Nichols2009-08-091-1/+5
| | | | | | | | db:migrate or remove active_record in environment.rb. [#3012 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Require test/unit in the generated test_helper for plugin [#1878 state:resolved]jastix2009-08-091-1/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Refactored create_migration on model generator.José Valim2009-08-092-7/+3
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed generating a namespaced model with table pluralization turned off. Add ↵Hugo Peixoto2009-08-093-2/+49
| | | | | | | | tests for namespaced model generation. [#767 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add a .tmp pathYehuda Katz2009-08-092-2/+4
|
* Use Pathname for checking if sqlite path is absolutePratik Naik2009-08-091-1/+5
|
* Make sure db:drop doesn't fail when sqlite db is given by an absolute path ↵bastilian2009-08-091-1/+1
| | | | | | [#1789 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Depend on rubygems 1.3.2Michael Koziarski2009-08-091-1/+1
| | | | Also move the min_version definition up a line so it's present in the rescue block down below.
* Users can now pass :branch for git plugins and :revision for subversion pluginsMatt Duncan2009-08-082-1/+25
| | | | | | [#2352 status:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Improved coverage for session_migration generator. [#3008 status:resolved]José Valim2009-08-082-3/+7
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed reference to AR::SessionStore::Session.table_name in session migrationsElad Meidar2009-08-083-2/+20
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure db:drop:all doesn't error out on exception [#2997 state:resolved] ↵Pratik Naik2009-08-081-2/+6
| | | | [Anthony Caliendo]
* Add rake db:forward - opposite of db:rollback [#768 state:resolved]Cristi Balan2009-08-081-0/+7
| | | | | | | | Example: rake db:forward # performs the next migration rake db:forward STEP=4 # performs the next 4 migrations Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added rubygems to generators load_paths, but we only load generators from ↵José Valim2009-08-083-21/+43
| | | | 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-084-15/+15
|
* Add option to routes task to target a specific controller with CONTROLLER=x.Mike Breen2009-08-081-3/+4
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2928 state:committed]
* Allow rails templates relative to the current path to be given.José Valim2009-08-074-4/+25
|
* Updated vendored thor to 0.11.5José Valim2009-08-0736-354/+312
|
* Dont require thin as the thin rack adapter is now upstreamJames Tucker2009-08-051-7/+0
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Removed default_internal, which was preventing round-tripping of some encodings.Yehuda Katz2009-07-301-1/+0
|
* Generator config should be commented by defaultPratik Naik2009-07-301-5/+5
|