aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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-232-0/+18
|\ \ | | | | | | Fix environment support for rails server, and match interface of rails console
| * | match rails console environment support, to serverschneems2012-03-221-0/+13
| | | | | | | | | | | | 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-201-0/+5
| |/ | | | | | | | | | | | | 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-221-1/+1
|/ | | | rails/rails@9299bfdcd387253d83b645c205b8df477f2d0940.
* Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform onlyPiotr Sarnacki2012-03-171-1/+1
|
* Rack::SSL -> ActionDispatch::SSLRafael Mendonça França2012-03-171-2/+1
|
* Simplify helpers handling. Ensure Metal can run AC hooks.José Valim2012-03-151-1/+1
|
* Remove remaining http_only? calls.José Valim2012-03-142-14/+4
|
* Remove --http.José Valim2012-03-1410-179/+7
|
* Fix scaffold controller template, ensure rake scaffold test pass by defaultCarlos Antonio da Silva2012-03-141-2/+2
|
* Do not generate app/views and sprockets entries on http appCarlos Antonio da Silva2012-03-141-0/+5
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Generate special controller and functional test templates for http appsCarlos Antonio da Silva2012-03-147-4/+128
| | | | | | | | | | | | The main goal is to not generate the format.html block in scaffold controller, and to generate a different functional test as we don't rely on redirects anymore, we should test for http responses. In addition to that, the :edit action is removed from the http controller and the edit route is not generated by default, as they usually do not make sense in this scenario. [Carlos Antonio da Silva & Santiago Pastorino]
* Rename http-only app generator option to httpCarlos Antonio da Silva2012-03-143-5/+5
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Move http only option to AppGeneratorCarlos Antonio da Silva2012-03-142-3/+3
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Allow generator configs from http_only! to be overriden by appCarlos Antonio da Silva2012-03-141-1/+1
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Refactor http_only, remove reader methodCarlos Antonio da Silva2012-03-141-14/+19
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Disable template, helper and assets options when using http_only!Carlos Antonio da Silva2012-03-141-1/+14
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Create generators http_only! setup and hide some common namespaces for nowCarlos Antonio da Silva2012-03-142-4/+18
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Generate middleware http_only! config when running http only app generatorCarlos Antonio da Silva2012-03-141-1/+10
| | | | [Carlos Antonio da Silva & Santiago Pastorino]
* Add http-only option to Rails app generatorCarlos Antonio da Silva2012-03-143-5/+8
| | | | | | | Change application controller template accordingly, to inherit from ActionController::HTTP and not generate protect_from_forgery call. [Carlos Antonio da Silva & Santiago Pastorino]
* Add ActionController::HTTPSantiago Pastorino2012-03-141-1/+1
| | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino]
* Remove key_value helper now that master is 1.9 only and we always useRafael Mendonça França2012-03-139-35/+21
| | | | the 1.9 hash syntax in the generators.
* Remove IdentityMapCarlos Antonio da Silva2012-03-131-4/+0
|
* Add sprockets-rails to generated Gemfile. This should be reverted after ↵Guillermo Iguaran2012-03-131-0/+2
| | | | sprockets-rails release on rubygems
* The sprockets railtie was moved to sprockets/rails/railtieGuillermo Iguaran2012-03-133-3/+3
|
* Merge pull request #5415 from rafaelfranca/refactorJosé Valim2012-03-131-1/+1
|\ | | | | Refactor the test_unit scaffold generator to use the key_value method
| * Refactor the test_unit scaffold generator to use the key_value methodRafael Mendonça França2012-03-131-1/+1
| |
* | Merge pull request #572 from sikachu/remove_activeresourceJosé Valim2012-03-136-12/+3
|\ \ | | | | | | Remove Active Resource source files from the repository.
| * | Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-136-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
* | | Check for existence of exactly the called `fixture_path=` methodPiotr Sarnacki2012-03-131-2/+2
|/ /
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-131-0/+2
|\ \ | |/ |/|
| * Advise to keep secret token privateFilipe Moreira2012-03-121-0/+2
| |
* | Merge pull request #5397 from rafaelfranca/fix-scaffoldJosé Valim2012-03-132-2/+23
|\ \ | | | | | | Do not use the attributes hash in the scaffold functional tests
| * | Use the attributes hash explicitlyRafael Mendonça França2012-03-132-6/+18
| | |
| * | Do not use the attributes hash in the scaffold functional testsRafael Mendonça França2012-03-122-2/+11
| | |
* | | Fixed problem when fixture_path is not always defined (incidentally, only ↵Philip Arndt2012-03-131-1/+3
| | | | | | | | | | | | when ActiveRecord is according to test_help.rb).
* | | Fixes issue #5193 using the instructions provided in the issue.Philip Arndt2012-03-131-0/+3
| | |
* | | use AS::Logger so we are consistentAaron Patterson2012-03-121-1/+1
| | |
* | | allow people to specify custom formatters, use the default formatter in ↵Aaron Patterson2012-03-124-4/+10
|/ / | | | | | | production so that PID and timestamp are logged. fixes #5388
* | Merge pull request #5326 from lest/patch-2Michael Koziarski2012-03-101-1/+3
|\ \ | | | | | | configure how unverified request will be handled
| * | configure how unverified request will be handledSergey Nartimov2012-03-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception
* | | Change api_only to http_onlyCarlos Antonio da Silva2012-03-102-10/+10
| | | | | | | | | | | | [Carlos Antonio da Silva & Santiago Pastorino]