aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
Commit message (Collapse)AuthorAgeFilesLines
...
* | fix indent for generator environment methodAlexey Vakhov2011-09-021-1/+1
| |
* | Set default location of manifest with config.assets.manifestGuillermo Iguaran2011-08-311-0/+3
| |
* | Backport f443f9cb0c64 to masterGuillermo Iguaran2011-08-312-3/+6
| |
* | Backport b0f30631662 to masterGuillermo Iguaran2011-08-311-3/+2
| |
* | Read digests of assets from manifest.yml if config.assets.manifest is onGuillermo Iguaran2011-08-311-0/+4
|/
* fix ambiguous use of *Aaron Patterson2011-08-241-1/+1
|
* Add config.allow_debugging option to determine if the debug_assets query ↵Guillermo Iguaran2011-08-242-0/+6
| | | | param can be passed by user
* Allow to debug assets by config.assets.debugAndrey A.I. Sitnik2011-08-221-0/+3
|
* Cleanup application.cssRafa García2011-08-171-3/+3
|
* Use lazy load hooks to set parameter wrapping configuration. This means that ↵Jon Leighton2011-08-161-7/+9
| | | | it doesn't force Action Controller / Active Record to load, but it doesn't fail if they have already loaded. Thanks @josevalim for the hint.
* Don't reference ActiveRecord::Base in initializers/wrap_parameters.rb. Use ↵Jon Leighton2011-08-161-5/+7
| | | | config.active_record instead. This yields about a 20% decrease in startup time because it means that the connection is not created immediately on startup. Of course, this is only useful if you are not going to immediately use the database after startup.
* Fix wrap_parameters initializer templateJon Leighton2011-08-161-1/+1
|
* Don't refer to ActionController::Base in the wrap_parameters initializer - ↵Jon Leighton2011-08-161-1/+1
| | | | use config object instead. Cuts about 15% off the load time. (#734)
* x_sendfile_header now defaults to nil and production.rb env file doesn'tSantiago Pastorino2011-08-071-2/+2
| | | | | | | set a particular value for it. This allows servers to set it through X-Sendfile-Type, read https://github.com/rack/rack/blob/master/lib/rack/sendfile.rb for more info. Anyways you can force this value in your production.rb
* Avoid generating app/views/layouts/application.html.erb on mountable ↵Santiago Pastorino2011-08-052-2/+0
| | | | engines, just generate the namespaced one
* Fix a bit precompile and lazy compile commentsSantiago Pastorino2011-08-031-4/+2
|
* Don't require assets group in production by default, you can change this ↵Santiago Pastorino2011-08-031-3/+7
| | | | default in the application.rb anyways
* Merge pull request #2385 from bogdan/test_default_sanitizer2José Valim2011-08-011-0/+5
|\ | | | | MassAssignmentProtection: consider 'id' insensetive in StrictSanitizer
| * MassAssignmentProtection: consider 'id' insensetive in StrictSanitizerBogdan Gusiev2011-07-281-0/+5
| | | | | | | | | | | | In order to use StrictSanitizer in test mode Consider :id as not sensetive attribute that can be filtered from mass assignement without exception.
* | Include empty app/mailers directory in mountable and full pluginsDan Gebhardt2011-07-292-0/+1
| |
* | Tidy upSantiago Pastorino2011-07-282-5/+4
| |
* | Tidy up a bit plugin new gemspecSantiago Pastorino2011-07-281-7/+3
| |
* | Moved dependencies from Gemfile to gemspec to eliminate redundant declarations.Dan Gebhardt2011-07-282-7/+24
| |
* | Extracted version from gemspec and placed it in its own file. This is ↵Dan Gebhardt2011-07-283-3/+11
| | | | | | | | consistent with the approach taken by "bundle gem", and is expected by gems such as svenfuchs/gem-release which can be used to bump / tag versions of gems.
* | Expanded meta-data in gemspec to include author, email, etc.; Defaults ↵Dan Gebhardt2011-07-281-4/+8
|/ | | | include "TODO" to prevent gems from being built without review.
* removing inline source option from rdoc task. fixes #2169Aaron Patterson2011-07-211-1/+1
|
* Fix Rails::Generators::Actions#environment when env is passed. Closes #2110Guillermo Iguaran2011-07-181-2/+3
|
* Merge pull request #2108 from loz/masterSantiago Pastorino2011-07-161-0/+5
|\ | | | | Adds gem helper rake tasks to engines generator
| * Added gem helper to rake task for engines, as per pull request from ↵Jonathan Lozinski2011-07-161-0/+5
| | | | | | | | 3-1-stable, #2103
* | Fix the output a bitSantiago Pastorino2011-07-161-2/+2
|/
* Added db to gemspec files so migrations are correctly packagedJonathan Lozinski2011-07-161-1/+1
|
* Use cache/assets instead.José Valim2011-07-121-1/+1
|
* assets.cache_store now defaults to filesystem. You will want to share ↵José Valim2011-07-121-1/+2
| | | | tmp/assets_cache between deploys.
* remove extra space since comment_if already returns the space.Teng Siong Ong2011-07-132-4/+4
|
* Generate valid default fixtures for models with a type columnMarc-Andre Lafortune2011-07-111-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Require assets in all environments by default and provide a way to opt-out ↵José Valim2011-07-111-1/+1
| | | | from uglifier.
* Mention about acronym inflection in config/initializers/inflections.rbPrem Sichanugrist2011-07-111-0/+5
| | | | Closes #1366
* Don't raise on mass assignment for testJosé Valim2011-07-071-5/+0
|
* Just generate AR options if AR is enabledJosé Valim2011-07-072-0/+4
|
* Merge pull request #1996 from bogdan/default_sanitizer_squashedJosé Valim2011-07-072-0/+6
|\ | | | | Rails app template: setup different mass assignment sanitizer for envs
| * Rails app template: setup different mass assignment sanitizer for envsBogdan Gusiev2011-07-072-0/+6
| | | | | | | | | | For production - leave the default For test and dev: :strict.
* | updating pg supported versions docco. fixes #1959Aaron Patterson2011-07-052-2/+2
| |
* | Add assets_gemfile_entry.José Valim2011-07-012-5/+11
| |
* | Depend on edge version of sass-railsSantiago Pastorino2011-06-301-1/+1
| |
* | Depend on edge version of coffee-railsSantiago Pastorino2011-06-301-1/+1
| |
* | Move Coffee generators and templates to Coffee Railtie and create ↵Santiago Pastorino2011-06-295-13/+18
| | | | | | | | javascript_engine ("js") for apps that remove Coffee gem
* | [IMPORTANT] Make "sprockets/railtie" require explicit.José Valim2011-06-293-4/+12
| | | | | | | | | | | | | | | | | | | | This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
* | Merge pull request #1481 from arunagw/lib_assetsDavid Heinemeier Hansson2011-06-271-0/+1
|\ \ | | | | | | Generating /lib/assets for assets
| * | Using lib/assets only. Javascripts/Stylesheets people can fill later.Arun Agrawal2011-06-161-0/+1
| | |
* | | fixtures :all is already included in test_helper.rbSantiago Pastorino2011-06-231-2/+0
| | |