Permalink
Switch branches/tags
Commits on Oct 7, 2012
  1. We don't need to check blank? here.

    Also the blank? check introduced a bug.
    
    $ rails generate model Foo blank:boolean
    
    form_for(Foo.new(:blank => true)) => ArgumentError, "First argument in form cannot contain nil or be empty"
    rafaelfranca committed Oct 7, 2012
  2. Update some code styles.

    * Uses the Ruby 1.9 hash syntax
    * Avoid escaping " inside string using the %{} syntax
    rafaelfranca committed Oct 7, 2012
  3. Merge pull request #6475 from joefiorini/responsive-guides

    Responsive guides
    fxn committed Oct 7, 2012
Commits on Oct 6, 2012
  1. Merge pull request #7864 from teleological/link_to_remote_master

    Accept :remote as symbol in link_to options
    rafaelfranca committed Oct 6, 2012
  2. Remove unneeded require

    rafaelfranca committed Oct 6, 2012
  3. Accept :remote as symbol in link_to options

    Accept either :remote or 'remote' in both the html_options and
    (url_)options hash arguments to link_to.
    teleological committed Oct 6, 2012
  4. Merge pull request #7848 from senny/3415_assert_template_has_nil_vari…

    …able
    
    can't pass :locals to #assert_template without a view test case (#3415)
    rafaelfranca committed Oct 6, 2012
  5. can't pass :locals to #assert_template without a view test case. Closes

    #3415
    
    the documentation on #assert_template states that the :locals option is
    only available in view test cases:
    
        # In a view test case, you can also assert that specific locals are passed
        # to partials:
    
    I added a warning when it's passed in an inapropriate context to prevent
    a NoMethodError.
    senny committed Oct 4, 2012
  6. Merge pull request #7862 from frodsan/rename_private_method

    rename private method to avoid overriding
    spastorino committed Oct 6, 2012
  7. rename private method to avoid overriding

    Francesco Rodriguez committed Oct 6, 2012
  8. Merge pull request #7850 from senny/5920_postgres_adapter_table_with_…

    …capital_letters
    
    postgres, quote table names when fetching the primary key (#5920)
    rafaelfranca committed Oct 6, 2012
  9. Merge pull request #7861 from frodsan/test_backtrace

    use Rails backtrace in tests
    rafaelfranca committed Oct 6, 2012
  10. use Rails backtrace in tests

    Francesco Rodriguez committed Oct 6, 2012
  11. bump minitest version ~> 4.1.0

    Francesco Rodriguez committed Oct 6, 2012
Commits on Oct 5, 2012
  1. Allow parameter filters to match multi-parameter attributes

    This will make easier to permit date/time attributes generated by
    helpers like date_select.
    
    [Sven Schwyn + Rafael Mendonça França]
    rafaelfranca committed Oct 5, 2012
  2. Merge pull request #7854 from guilleiguaran/extract-rack-cache

    Fix middleware cache tests enabling rack_cache
    rafaelfranca committed Oct 5, 2012
  3. Merge pull request #7852 from rochefort/fix-example

    fix Example: Rename tools/profile_requires -> tools/profile
    jeremy committed Oct 5, 2012
  4. Revert "Use flat_map { } instead of map {}.flatten"

    This reverts commit abf8de8.
    We should take a deeper look to those cases flat_map doesn't do deep
    flattening.
    
    irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten
    => [1, 3, 1, 2]
    irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i}
    => [[1, 3], [1, 2]]
    spastorino committed Oct 5, 2012
  5. Merge pull request #7838 from guilleiguaran/extract-rack-cache

    Disable Rack::Cache by default
    spastorino committed Oct 5, 2012
Commits on Oct 4, 2012
  1. Use String#exclude? to make sure that Active Support is not loaded when

    bare is true.
    
    We need to change this since coffee-rails loads ActionView that loads
    core_ext/array/access.
    rafaelfranca committed Oct 4, 2012