aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests.José Valim2011-04-251-6/+2
|
* No need to check for both full and mountable.Prem Sichanugrist2011-04-251-1/+1
| | | | All mountable engine are considered `full?` already.
* Add `app/assets/images` directory to plugin new generatorPrem Sichanugrist2011-04-251-0/+10
|
* Temporarily disable uglifier until a new version depending on execjs 0.2.0 ↵David Heinemeier Hansson2011-04-242-2/+2
| | | | can be released (tomorrow?)
* Stop adding actual dummy tests (they clutter up the real ones in a new app), ↵David Heinemeier Hansson2011-04-237-28/+21
| | | | just show how its done
* The example uses erbDavid Heinemeier Hansson2011-04-221-0/+0
|
* Fixed images path in plugin_new_generatorArun Agrawal2011-04-231-1/+1
|
* Turn on JS/CSS compression by defaultDavid Heinemeier Hansson2011-04-222-0/+5
|
* Add app/assets/images and include the rails.png as a sample thereDavid Heinemeier Hansson2011-04-193-9/+1
|
* Add note about the option to add other precompile targetsDavid Heinemeier Hansson2011-04-191-0/+3
|
* Use proper coffee commentsDavid Heinemeier Hansson2011-04-181-3/+3
|
* Make generators more modular, add hooks and improve test suite.José Valim2011-04-176-52/+45
|
* Generate app/* stubs directories for full plugins to show ththat it is ↵José Valim2011-04-172-16/+27
| | | | possible to extend them.
* Fix plugin new generator to work with new javascript/stylesheets conventionsPiotr Sarnacki2011-04-162-13/+22
|
* Fix missing test_helper.José Valim2011-04-152-1/+2
|
* Use JS comments, pleaseDavid Heinemeier Hansson2011-04-151-9/+9
|
* Update scaffold controller to generate scss file if Sass is availablePrem Sichanugrist2011-04-152-1/+73
|
* change to use the Sass file extension .scssSebastian Martinez2011-04-141-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* The controller and resource generators will now automatically produce asset ↵David Heinemeier Hansson2011-04-147-1/+72
| | | | stubs (this can be turned off with --skip-assets). These stubs will use Coffee and Sass, if those libraries are available. [DHH]
* Bring back tmp/cache for the default local cache to workDavid Heinemeier Hansson2011-04-141-1/+1
|
* Its assets.enabled, not assets.enableDavid Heinemeier Hansson2011-04-141-1/+1
|
* Cleanup the Gemfile and compute whats needed depending on whether we are on ↵David Heinemeier Hansson2011-04-132-23/+25
| | | | 1.8 or 1.9
* Generate scaffold.css to app/assets/stylesheets (next step, SCSSify it if ↵David Heinemeier Hansson2011-04-131-1/+1
| | | | SCSS is available)
* Includes have to be in the first commentDavid Heinemeier Hansson2011-04-131-1/+1
|
* Use driver_ujs now that we no longer have to depend on a shared name and ↵David Heinemeier Hansson2011-04-131-6/+0
| | | | insert all prototype dependencies if thats specified
* Use driver_ujs now that we no longer have to depend on a shared name and ↵David Heinemeier Hansson2011-04-132-1/+12
| | | | insert all prototype dependencies if thats specified
* Blah, assets cant be turned on from initializers eitherDavid Heinemeier Hansson2011-04-132-3/+3
|
* Cleanup commentsDavid Heinemeier Hansson2011-04-131-3/+1
|
* Not neededDavid Heinemeier Hansson2011-04-131-1/+0
|
* Require asset pipeline targets by defaultDavid Heinemeier Hansson2011-04-131-2/+2
|
* Require everything by defaultDavid Heinemeier Hansson2011-04-131-1/+4
|
* Dont need to make application.js into coffee since it will mostly be a ↵David Heinemeier Hansson2011-04-131-1/+1
| | | | manifest file anyway
* Move json requirement to user Gemfile -- still need to do better than this, ↵David Heinemeier Hansson2011-04-132-4/+2
| | | | though
* Use Sass from git until the final gem is outDavid Heinemeier Hansson2011-04-131-1/+1
|
* Move the asset template engines to the user-generated GemfileDavid Heinemeier Hansson2011-04-133-3/+5
|
* Generate CoffeeScript stub by defaultJoshua Peek2011-04-132-6/+6
|
* Include CoffeeScript in GemfileJoshua Peek2011-04-131-2/+4
|
* Add default require directives for jqueryJoshua Peek2011-04-131-0/+4
|
* Blah, identity_map has to be setup in application.rb to workDavid Heinemeier Hansson2011-04-133-13/+11
|
* Fix tripletsDavid Heinemeier Hansson2011-04-131-397/+1
|
* Clean up the generator, switch to assets usage, use vendor/assets for the ↵David Heinemeier Hansson2011-04-1314-46/+445
| | | | default scripts, and more
* Until the latest sprockets gem is released, we need new apps to reference it ↵David Heinemeier Hansson2011-04-131-9/+12
| | | | directly
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-132-2/+2
| | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* removes debug_rjs from ActionView::BaseXavier Noria2011-04-131-1/+0
|
* jQuery is the new defaultXavier Noria2011-04-132-7/+7
|
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-122-2/+2
| | | | suggestion!
* Keep the same API semantics for update/delete as we had for XML (just return ↵David Heinemeier Hansson2011-04-111-2/+2
| | | | 200 OK, no body)
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-112-2/+4
| | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
* Add --old-style-hash option to force creating old style hash on Ruby 1.9Prem Sichanugrist2011-04-102-2/+8
| | | | That means if you don't like the new syntax, you can pass --old-style-hash to force Rails to generate code with hash rockets.
* Rails will now generate Ruby 1.9 style hash when running app generator on ↵Prem Sichanugrist2011-04-103-3/+12
| | | | | | Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate.