aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused config variable from test.rb templateGuillermo Iguaran2011-09-051-3/+0
|
* Merge pull request #2841 from wojtekmach/app-generators-groupJosé Valim2011-09-041-1/+26
|\ | | | | Add gem group support to generators
| * Add gem_group support to generatorsWojciech Mach2011-09-041-1/+26
| |
* | Modified content in guides and commentsArun Agrawal2011-09-041-3/+3
| | | | | | | | | | | | for "assert /" warnings. Removed because if somebody will use this code they will get warnings!
* | Warnings removed for using shadow variable.Arun Agrawal2011-09-041-2/+2
| |
* | restores the API docs of AR::Fixtures, made a quick pass over them, revises ↵Xavier Noria2011-09-031-1/+1
|/ | | | link in fixture template [closes #2840]
* Add bcrypt-ruby to Gemfile templateGuillermo Iguaran2011-09-031-0/+3
|
* fix indent for generator environment methodAlexey Vakhov2011-09-021-1/+1
|
* Merge pull request #2780 from guilleiguaran/assets-pipeline-minor-changesSantiago Pastorino2011-08-311-1/+1
| | | | Assets pipeline: fix in manifest location and remove unused code
* Set default location of manifest with config.assets.manifestGuillermo Iguaran2011-08-312-0/+4
|
* Backport f443f9cb0c64 to masterGuillermo Iguaran2011-08-313-6/+8
|
* Backport b0f30631662 to masterGuillermo Iguaran2011-08-311-3/+2
|
* Read digests of assets from manifest.yml if config.assets.manifest is onGuillermo Iguaran2011-08-312-4/+9
|
* Yes we need this to pass the test. we are using config.log_level.Arun Agrawal2011-08-251-2/+2
| | | | | Fix broken test test_copying_migrations(RailtiesTest::EngineTest): NoMethodError: undefined method `log_level' for #<Rails::Engine::Configuration:0xb87a98c>
* fix ambiguous * and remove unused variableAaron Patterson2011-08-241-2/+2
|
* fix ambiguous use of *Aaron Patterson2011-08-241-1/+1
|
* only define the encoding reader since we define the writer later onAaron Patterson2011-08-241-1/+2
|
* we are *sure* we want to set the encoding, so silence warnings around itAaron Patterson2011-08-242-4/+9
|
* dealing with some -w warnings on startupAaron Patterson2011-08-244-2/+9
|
* Add config.allow_debugging option to determine if the debug_assets query ↵Guillermo Iguaran2011-08-243-6/+13
| | | | param can be passed by user
* Add destroy alias to enginesGuillermo Iguaran2011-08-221-2/+3
|
* Merge pull request #2411 from ai/debug_assets_by_configSantiago Pastorino2011-08-222-0/+4
|\ | | | | Debug assets by config
| * Allow to debug assets by config.assets.debugAndrey A.I. Sitnik2011-08-222-0/+4
| |
* | Add Destroy AliasAndrey Ognevsky2011-08-221-1/+2
|/ | | | | | | | * Added destroy alias to rails generator * add alias info for destroy command * Updated command line guides
* 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)
* Requiring delegate.Arun Agrawal2011-08-161-0/+1
|
* Merge branch 'master' of github.com:lifo/docrailsXavier Noria2011-08-131-1/+3
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: RELEASING_RAILS.rdoc actionpack/lib/sprockets/railtie.rb actionpack/test/template/sprockets_helper_test.rb activerecord/test/cases/calculations_test.rb railties/guides/source/3_1_release_notes.textile railties/guides/source/active_resource_basics.textile railties/guides/source/command_line.textile
| * Fix a bit precompile and lazy compile commentsSantiago Pastorino2011-08-131-4/+2
| |
| * Don't require assets group in production by default, you can change this ↵Santiago Pastorino2011-08-131-3/+7
| | | | | | | | default in the application.rb anyways
| * use File.directory? as Dir.exists? is only 1.9.2+Aaron Patterson2011-08-131-2/+2
| |
| * Merge pull request #2324 from zenapsis/3-1-stableSantiago Pastorino2011-08-132-3/+7
| | | | | | | | Rails 3.1 throws a Errno::ENOTDIR if files are put in assets directories
| * MassAssignmentProtection: consider 'id' insensetive in StrictSanitizerBogdan Gusiev2011-08-131-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.
| * fixes #2368. rake about not showing the middleware, db adapter and db schema ↵Vijay Dev2011-08-131-1/+1
| | | | | | | | version
| * Include empty app/mailers directory in mountable and full pluginsDan Gebhardt2011-08-132-0/+1
| |
| * Tidy upSantiago Pastorino2011-08-132-5/+4
| |
| * Tidy up a bit plugin new gemspecSantiago Pastorino2011-08-131-7/+3
| |
| * Moved dependencies from Gemfile to gemspec to eliminate redundant declarations.Dan Gebhardt2011-08-132-7/+24
| |
| * Extracted version from gemspec and placed it in its own file. This is ↵Dan Gebhardt2011-08-133-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-08-131-4/+8
| | | | | | | | include "TODO" to prevent gems from being built without review.
| * Don't use Rack::Sendfile middleware if x_sendfile_header is not presentSantiago Pastorino2011-08-131-1/+3
| |
* | Further monkey-patching to avoid deprecation warningsPivotal Casebook2011-08-081-0/+2
| |
* | Initialize config.assets.version the same way it's done in SprocketsSantiago Pastorino2011-08-081-0/+1
| |
* | x_sendfile_header now defaults to nil and production.rb env file doesn'tSantiago Pastorino2011-08-072-5/+3
| | | | | | | | | | | | | | 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