Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 28, 2012
  1. @josevalim

    Merge pull request #6512 from jaredbeck/fix_number_to_currency_neg_fo…

    josevalim authored
    …rmat
    
    Fix handling of negative zero in number_to_currency
  2. @jaredbeck
  3. @josevalim

    Merge pull request #6315 from appfolio/moving_number_helper_methods_t…

    josevalim authored
    …o_active_support
    
    Moving number helper from ActionView to Active Support
  4. @drogus

    Fix sorting of helpers from different paths

    drogus authored
    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)
  5. @amutz
Commits on May 27, 2012
  1. @vijaydev
  2. @vijaydev

    copy edits [ci skip]

    vijaydev authored
  3. @drogus

    Fix railties_order when application object is passed

    drogus authored
    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.
  4. @frodsan
  5. @frodsan
  6. @frodsan
  7. @frodsan
  8. @frodsan
Commits on May 26, 2012
  1. @vijaydev

    Update initialization guide [ci skip]

    vijaydev authored
    * update rails versions
    * remove outdated code snippets
    * few more corrections
  2. @deepak

    Revert "Small correction to contributing_to_rails in the section for …

    deepak authored
    …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. @rafaelfranca

    Add `:escape` option for `truncate`

    rafaelfranca authored
    This options can be used to not escape the result by default.
  4. @rafaelfranca
  5. @deepak

    Small correction to contributing_to_rails in the section for testing …

    deepak authored
    …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
  6. @rafaelfranca

    Test that the block used in truncate is escaped if it is not HTML safe

    rafaelfranca authored
    Refactoring the truncate method to not do a sort-circuit return
  7. @rafaelfranca

    Merge pull request #6031 from lellisga/truncate_readme

    rafaelfranca authored
    Truncate now has the ability to receive a html option that allows it to call rails helpers.
  8. @lellisga

    Truncate now has the ability to receive a html option that allows it …

    lellisga authored
    …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, ....."")
  9. @vijaydev

    some small corrections & wrapping changes in the initialization guide

    vijaydev authored
    This guide is currently a wip and pending reviews. [ci skip]
  10. @vijaydev
  11. @vijaydev
  12. @vijaydev

    make it explicit that bundle install at the time of app creation

    vijaydev authored
    installs only the gems that are already in the gemfile
    
    [ci skip]
  13. @vijaydev

    Merge pull request #6454 from rafmagana/guides_rails_on_rack

    vijaydev authored
    [guides] Update rails on rack
  14. @vijaydev

    Merge pull request #6491 from rafmagana/getting_started_update_settin…

    vijaydev authored
    …g_app_home_page
    
    [getting started] Update Setting the Application Home Page to show the generated get "welcome/index" route
  15. @radar

    [routing guide] Add mention of get '/:username' route

    radar authored
    This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
  16. @frodsan
  17. @frodsan
  18. @frodsan
  19. @frodsan
  20. @frodsan
  21. @tenderlove

    Merge pull request #4132 from Juanmcuello/clone_structure

    tenderlove authored
    Reset postgreSQL search path in db:test:clone_structure.
Something went wrong with that request. Please try again.