Permalink
Commits on May 28, 2012
  1. Merge pull request #6512 from jaredbeck/fix_number_to_currency_neg_fo…

    josevalim committed May 28, 2012
    …rmat
    
    Fix handling of negative zero in number_to_currency
  2. Merge pull request #6315 from appfolio/moving_number_helper_methods_t…

    josevalim committed May 28, 2012
    …o_active_support
    
    Moving number helper from ActionView to Active Support
  3. Fix sorting of helpers from different paths

    drogus committed May 27, 2012
    When more than one directory for helpers is provided to a controller, it
    should preserver the order of directories. Given 2 paths:
    
        MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"]
    
    helpers from dir1 should be loaded first. Before this commit, all
    helpers were mixed and then sorted alphabetically, which essentially
    would require to rename helpers to get desired order.
    
    This is a problem especially for engines, where you would like to be
    able to predict accurately which engine helpers will load first.
    
    (closes #6496)
Commits on May 27, 2012
  1. copy edits [ci skip]

    vijaydev committed May 27, 2012
  2. Fix railties_order when application object is passed

    drogus committed May 27, 2012
    railites_order method, introduced in 40b19e0, had a bug that was causing
    loading application instance twice in initializers if railties_order
    already included application instance. So for example
    
        railties_order = [Foo::Engine, :main_app, Bar::Engine]
    
    would result in such railties array:
    
        [MyApp::Application, Foo::Engine, MyAppApplication, Bar::Engine]
    
    In order to fix it, we need to check for existence of application in
    both railties_order and railties arrays.
  3. update Module#mattr_accessor documentation [ci skip]

    Francesco Rodriguez committed May 27, 2012
  4. add CollectionProxy#uniq documentation

    Francesco Rodriguez committed May 27, 2012
  5. update Hash documentation with 1.9 syntax [ci skip]

    Francesco Rodriguez committed May 27, 2012
  6. add examples to Hash#deep_stringify_keys and Hash#deep_symbolize_keys…

    Francesco Rodriguez committed May 27, 2012
    … [ci skip]
Commits on May 26, 2012
  1. Update initialization guide [ci skip]

    vijaydev committed May 26, 2012
    * update rails versions
    * remove outdated code snippets
    * few more corrections
  2. Revert "Small correction to contributing_to_rails in the section for …

    deepak committed May 26, 2012
    …testing ActiveRecord
    " This reverts commit 0cfbaa0.
    Sorry did not see the section on MySql and PostgreSQL
    
    # Please enter the commit message for your changes. Lines starting
    # with '#' will be ignored, and an empty message aborts the commit.
    # On branch master
    # Changes to be committed:
    #   (use "git reset HEAD <file>..." to unstage)
    #
    #	modified:   guides/source/contributing_to_ruby_on_rails.textile
    #
  3. Add `:escape` option for `truncate`

    rafaelfranca committed May 26, 2012
    This options can be used to not escape the result by default.
  4. Small correction to contributing_to_rails in the section for testing …

    deepak committed May 26, 2012
    …ActiveRecord
    
    
    Initially the guide suggests to install gems via "bundle install --without db" 
    But tests for ActiveRecord need to install the gems in db group also, like mysql.
    The patch clears the bundler options in ".bundle/config" and installs all the gems in Gemfile
  5. Test that the block used in truncate is escaped if it is not HTML safe

    rafaelfranca committed May 26, 2012
    Refactoring the truncate method to not do a sort-circuit return
  6. Merge pull request #6031 from lellisga/truncate_readme

    rafaelfranca committed May 26, 2012
    Truncate now has the ability to receive a html option that allows it to call rails helpers.
  7. Truncate now has the ability to receive a html option that allows it …

    lellisga committed Apr 28, 2012
    …to call rails helpers.
    
    This way if my text is long I don't have to do something like this:
    
    .text
    = truncate(@text, :length => 27)
    
     if @text.size >= 27
        = link_to "continue", notes_path, ....."")
  8. some small corrections & wrapping changes in the initialization guide

    vijaydev committed May 26, 2012
    This guide is currently a wip and pending reviews. [ci skip]
  9. make it explicit that bundle install at the time of app creation

    vijaydev committed May 26, 2012
    installs only the gems that are already in the gemfile
    
    [ci skip]
  10. Merge pull request #6454 from rafmagana/guides_rails_on_rack

    vijaydev committed May 26, 2012
    [guides] Update rails on rack
  11. Merge pull request #6491 from rafmagana/getting_started_update_settin…

    vijaydev committed May 26, 2012
    …g_app_home_page
    
    [getting started] Update Setting the Application Home Page to show the generated get "welcome/index" route
  12. [routing guide] Add mention of get '/:username' route

    radar committed May 26, 2012
    This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
  13. add :nodoc: to CollectionProxy#initialize

    Francesco Rodriguez committed May 26, 2012
  14. add CollectionProxy#== documentation

    Francesco Rodriguez committed May 26, 2012
  15. add CollectionProxy#count documentation

    Francesco Rodriguez committed May 26, 2012
  16. add CollectionProxy#to_ary documentation

    Francesco Rodriguez committed May 26, 2012
  17. add CollectionProxy#delete documentation

    Francesco Rodriguez committed May 26, 2012
  18. Merge pull request #4132 from Juanmcuello/clone_structure

    tenderlove committed May 26, 2012
    Reset postgreSQL search path in db:test:clone_structure.