Permalink
Commits on May 27, 2012
  1. copy edits [ci skip]

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

    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.
    drogus committed May 27, 2012
  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…

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

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

    …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
    #
    deepak committed May 26, 2012
  3. Add `:escape` option for `truncate`

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

    …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
    deepak committed May 26, 2012
  5. Test that the block used in truncate is escaped if it is not HTML safe

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

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

    …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, ....."")
    lellisga committed Apr 28, 2012
  8. some small corrections & wrapping changes in the initialization guide

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

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

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

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

    This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
    radar committed May 26, 2012
  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

    Reset postgreSQL search path in db:test:clone_structure.
    tenderlove committed May 26, 2012
Commits on May 25, 2012
  1. Merge pull request #6493 from markmcspadden/hash_keys_order_methods

    Reorder deep_symbolize_keys methods
    rafaelfranca committed May 25, 2012
  2. Merge pull request #5872 from evtuhovich/prepared_statement_fix

    Remove prepared statement from system query in postgresql adapter
    tenderlove committed May 25, 2012
  3. [getting started] Update Setting the Application Home Page to show th…

    …e get "welcome/index" route
    rafmagana committed May 25, 2012