aboutsummaryrefslogtreecommitdiffstats
path: root/railties
Commit message (Collapse)AuthorAgeFilesLines
* Define Paths::Root#[]= in terms of #add.Ben Woosley2012-03-291-2/+1
|
* Drop Paths::Root initializer check of #path as it isn't checked in the ↵Ben Woosley2012-03-292-5/+0
| | | | #path= or anywhere else
* Drop unnecessary require in Rails::PathsBen Woosley2012-03-291-2/+0
|
* clarification to prevent confusing newbies; Passenger/Unicorn are app ↵Michael de Silva2012-03-281-1/+1
| | | | servers, Apache/Nginx are the web servers along with thin a la Heroku etc.
* Merge pull request #5630 from andhapp/fix-config-asset-manifestSantiago Pastorino2012-03-281-1/+1
|\ | | | | Changed the config.assets.manifest to nil
| * Changed the config.assets.manifest to nil in the comments in the production ↵Anuj Dutta2012-03-281-1/+1
| | | | | | | | config template.
* | Rails.initialized? can be called at any time without raising an exception ↵Franck Verrot2012-03-283-5/+15
|/ | | | | | | | | | [Closes #2507] Changes: * `Rails.initialized=` has been removed * `Rails.initialized?` and `Rails.application.initialized?` are now * delegating to `MyApp::Application.initialized?`
* favor composition over inheritanceAaron Patterson2012-03-261-5/+20
|
* favor composition over inheritanceAaron Patterson2012-03-262-8/+30
|
* still need to ensure the path is a directoryAaron Patterson2012-03-261-1/+1
|
* eliminating a branch we do not need. thanks @jeremyAaron Patterson2012-03-261-30/+3
|
* stop using *args in order to simplify our constructorAaron Patterson2012-03-261-5/+4
|
* Don't depend on ivars. Thanks @fesplugasAaron Patterson2012-03-261-1/+1
|
* Remove useless conditional.Pete Higgins2012-03-251-7/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-241-1/+1
|\ | | | | | | | | Conflicts: guides/source/ruby_on_rails_guides_guidelines.textile
| * Adding comma to correct syntax in comment.Jesse Brown2012-03-191-1/+1
| |
* | chdir before globbing so that we don't need to escape directory names.Aaron Patterson2012-03-231-1/+30
| | | | | | | | fixes #5521
* | Merge pull request #5550 from schneems/schneems/server_envAaron Patterson2012-03-234-0/+63
|\ \ | | | | | | Fix environment support for rails server, and match interface of rails console
| * | match rails console environment support, to serverschneems2012-03-222-0/+32
| | | | | | | | | | | | rails server takes `-e` as an argument to specify RAILS_ENV, rails console currently does not have the same interface. This commit fixes this disparity so developers can manually specify `RAILS_ENV` or can pass in an environment with a `-e`.
| * | fix rails server support of RAILS_ENV variableschneems2012-03-202-0/+31
| |/ | | | | | | | | | | | | When launching rails server from the command line with a rails environment specified such as `rails server RAILS_ENV=production` an error would occur since rails will try to use `RAILS_ENV=production` as it's server. When launching rails with a specified server such as thin `rails server thin RAILS_ENV=production` no error will be thrown, but rails will not start up in the specified environment. This fixes both of those cases
* | Fixed missing space bug introduces in ↵Anton Lindqvist2012-03-222-4/+5
| | | | | | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940.
* | Avoid another blank line in generated migration and remove assertion as per ↵Marcelo Silveira2012-03-211-1/+0
| | | | | | | | @spastorino request
* | Merge pull request #5532 from mhfs/migration_blank_lineJosé Valim2012-03-211-0/+1
|\ \ | | | | | | Remove blank line from generated migration
| * | Remove blank line from generated migrationMarcelo Silveira2012-03-201-0/+1
| |/
* / Generate Migration Thats Adds Removed IndexTravis Jeffery2012-03-211-0/+18
|/ | | | | When generating a migration that removes a field with an index, the down will add both the field and its index.
* Merge pull request #5492 from arunagw/build_fix_app_generator_testPiotr Sarnacki2012-03-181-1/+1
|\ | | | | Build fix for app_generator_test.rb
| * Build fix for app_generator_test.rbArun Agrawal2012-03-181-1/+1
| |
* | Merge pull request #5486 from kennyj/fix_5435Aaron Patterson2012-03-171-0/+12
|\ \ | |/ |/| Fix GH #5435. db:structure:dump should be re-enable.
| * Fix GH #5435. db:structure:dump should be reenable.kennyj2012-03-171-0/+12
| |
* | Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform onlyPiotr Sarnacki2012-03-171-1/+1
| |
* | Update the guides and CHANGELOGRafael Mendonça França2012-03-171-0/+2
| |
* | Rack::SSL -> ActionDispatch::SSLRafael Mendonça França2012-03-173-6/+4
| |
* | moves the guides up to the root directoryXavier Noria2012-03-17272-40505/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-175-449/+702
|\ \ | |/ |/| | | | | Conflicts: railties/guides/source/getting_started.textile
| * using pluckEgor Homakov2012-03-171-1/+1
| |
| * Moved squawk method into LocalInstanceMethods module, so it wouldMike Mulvaney2012-03-161-3/+6
| | | | | | | | | | | | | | not be added to every ActiveRecord::Base object. Changed acts_as_yaffle so it will include the LocalInstanceMethods module. Now only models that call acts_as_yaffle will get the squawk method, instead of pushing them into every ActiveRecord::Base.
| * Changed unit tests so they refer to yaffle_test_field as symbol.Mike Mulvaney2012-03-161-2/+2
| | | | | | | | | | acts_as_yaffle expects a symbol, so the string was causing the tests to always fail.
| * Add missing quotes on AS::Notifications examplesCarlos Antonio da Silva2012-03-151-12/+12
| |
| * [ci skip] Add examples of subscribing & creating ActiveSupport::Notificationsadman652012-03-151-1/+73
| |
| * [ci skip] Add examples to instrumentation guideadman652012-03-151-42/+322
| |
| * [getting started] [ci skip] Fix incongruant use of 'we' and 'you'. Expand ↵Ryan Bigg2012-03-141-4/+82
| | | | | | | | upon creating posts section
| * [getting started] Round out 'Laying down the ground work' sectionRyan Bigg2012-03-141-1/+62
| |
| * [getting started] rename initial 'meat' section of guide to 'Laying down the ↵Ryan Bigg2012-03-141-1/+1
| | | | | | | | | | | | ground work' This section involves a medium amount of setup and explanation (for the end user's own good!). It's not really about creating a post... that's for the *next* section
| * [getting started] correct typo in welcome/index.html.erb template pathRyan Bigg2012-03-141-1/+1
| |
| * [getting started] Improve explanation around initial controller generator usageRyan Bigg2012-03-141-1/+1
| |
| * [getting started] remove indentation for get 'posts/new'Ryan Bigg2012-03-141-1/+1
| |
| * [getting started] Reworking beginnings of the 'meat' of the guideRyan Bigg2012-03-141-44/+31
| | | | | | | | | | | | This guide will now create the new action first, then the create action and so on and so forth until the controller has all seven RESTful actions. We are doing this to demonstrate to a user how to *properly* build a controller. We do not mention scaffold *ON PURPOSE*. Scaffold is evil. We want to show the users the different facets of creating a resource, and this is how we're going to do it.
| * [getting started] Default root route in config/routes.rb is for a welcome ↵Ryan Bigg2012-03-141-5/+5
| | | | | | | | controller. Let's make it easy by creating a WelcomeController, not a HomeController, in the guide
| * [getting started] add warning that guide is being worked on (just for edge)Ryan Bigg2012-03-141-0/+2
| |
| * [getting started] Link to Bundler website when explaining Gemfile[.lock]Ryan Bigg2012-03-141-1/+1
| |