Skip to content
This repository

Jun 18, 2012

  1. Toshinori Kajihara

    Change minimum (default) log level in PostgreSQL to warning.

    kennyj authored carlosantoniodasilva committed

Jun 10, 2012

  1. José Valim

    Merge pull request #6692 from schneems/schneems/something-went-wrong

    Add Prompt to 404 & 500 Pages to Check Logs in Production
    josevalim authored
  2. José Valim

    Merge pull request #6665 from schneems/schneems/raise-migration-error

    Notify A User they Have Pending Migrations
    josevalim authored

Jun 09, 2012

  1. Richard Schneeman

    add prompt to 404 & 500 pages to check logs

    When new programmers push their code to a production server and receive an error they often don't know to check the logs, this simple reminder will help. Most professional applications have custom error pages so this change shouldn't affect them. The wording of the message should not confuse non-developer visitors.
    schneems authored
  2. Richard Schneeman

    raise error for pending migration

    can be configured by setting config.active_record.migration. Setting to :page_load will raise an error on each page refresh if there are migrations that are pending. Setting to :page_load is defaulted in development for new applications.
    schneems authored

Jun 06, 2012

  1. Francesco Rodríguez

    change AMS::JSON.include_root_in_json default value to false

    Changes:
    
    * Update `include_root_in_json` default value to false for default value
      to false for `ActiveModel::Serializers::JSON`.
    * Remove unnecessary change to include_root_in_json option in
      wrap_parameters template.
    * Update `as_json` documentation.
    * Fix JSONSerialization tests.
    
    Problem:
    
    It's confusing that AM serializers behave differently from AR,
    even when AR objects include AM serializers module.
    
        class User < ActiveRecord::Base; end
    
        class Person
          include ActiveModel::Model
          include ActiveModel::AttributeMethods
          include ActiveModel::Serializers::JSON
    
          attr_accessor :name, :age
    
          def attributes
            instance_values
          end
        end
    
        user.as_json
        => {"id"=>1, "name"=>"Konata Izumi", "age"=>16, "awesome"=>true}
        # root is not included
    
        person.as_json
        => {"person"=>{"name"=>"Francesco", "age"=>22}}
        # root is included
    
        ActiveRecord::Base.include_root_in_json
        => false
    
        Person.include_root_in_json
        => true
    
        # different default values for include_root_in_json
    
    Proposal:
    
    Change the default value of AM serializers to false, update
    the misleading documentation and remove unnecessary change
    to false of include_root_in_json option with AR objects.
    
        class User < ActiveRecord::Base; end
    
        class Person
          include ActiveModel::Model
          include ActiveModel::AttributeMethods
          include ActiveModel::Serializers::JSON
    
          attr_accessor :name, :age
    
          def attributes
            instance_values
          end
        end
    
        user.as_json
        => {"id"=>1, "name"=>"Konata Izumi", "age"=>16, "awesome"=>true}
        # root is not included
    
        person.as_json
        => {"name"=>"Francesco", "age"=>22}
        # root is not included
    
        ActiveRecord::Base.include_root_in_json
        => false
    
        Person.include_root_in_json
        => false
    
        # same behaviour, more consistent
    
    Fixes #6578.
    frodsan authored

May 29, 2012

  1. Francesco Rodríguez

    update Gemfile template to 1.9 hash syntax

    frodsan authored

May 22, 2012

  1. Gaurish Sharma

    Move root method at TOP of routes file

    Made the change as per the following text in routing guide:-
    "You should put the root route at the top of the file,
    because it is the most popular route and should be matched first."
    
    However, if root is best left at bottom. We will change to fix that text
    gaurish authored

May 16, 2012

  1. Brian Cardarella

    Changing the indentation level of the block comment close for SASS

    If one wants to use use SASS for application.css.sass the comment block indentation is invalid.

May 14, 2012

  1. José Valim

    Remove dates and environment variables from humans.txt

    josevalim authored
  2. José Valim

    Since escape_html_entities_in_json was moved to 3-2-stable, make it t…

    …rue in AS, closes #6287
    josevalim authored

May 13, 2012

  1. Kornelius Kalnbach

    require "rubygems" is obsolete in Ruby 1.9.3

    korny authored

May 12, 2012

  1. Rafael Mendonça França

    Remove tailing spaces :scissors: [ci skip]

  2. Vijay Dev

    s/wether/whether [ci skip]

    vijaydev authored
  3. José Valim

    Merge pull request #6277 from homakov/patch-6

    Comment for active_support's option in application.rb
    josevalim authored
  4. Geoffrey Roguelon

    Add commas missing in performance tests

    GRoguelon authored
  5. Egor Homakov

    Update railties/lib/rails/generators/rails/app/templates/config/appli…

    …cation.rb
    homakov authored

May 11, 2012

  1. Enrico Carlesso

    In robots.txt, User-agent should be all downcase except for the first…

    carlesso authored

May 08, 2012

  1. Paul Campbell

    add humans.txt

    paulca authored

May 02, 2012

  1. Roman V. Babenko

    Rakefile executable attributes and shebang lines has been removed

Apr 28, 2012

  1. José Valim

    Use Rails::Queueing::Queue instead of Queue so people can build their…

    … own consumers around stdlib's Queue
    josevalim authored

Apr 27, 2012

  1. Yehuda Katz

    Initial queue implementation

    wycats authored

Apr 25, 2012

  1. Jeremy Kemper

    Remove blank line at the end of routes.rb

    jeremy authored
  2. Jeremy Kemper

    Merge pull request #5880 from asanghi/master

    Stamp out ruby-debug with debugger everywhere else in the code base
    jeremy authored
  3. Aditya Sanghi

    and one more time

    asanghi authored

Apr 24, 2012

  1. Egor Homakov

    Deleting insecure and "bad practice" code. related: http://homakov.bl…

    homakov authored

Apr 17, 2012

  1. Aditya Sanghi

    another attempt at the language

    asanghi authored
  2. Aditya Sanghi

    stamp out ruby-debug19 with extreme prejudice :)

    asanghi authored

Apr 16, 2012

  1. Jeremy Kemper

    Merge pull request #5835 from asanghi/master

    Update Gemfile to use 'debugger' instead of unmaintained 'ruby-debug19'
    jeremy authored
  2. Rodrigo Rosenfeld Rosas

    Make log_level explicit in production.rb template

    The 'production' environment name is currently checked for setting up
    the default log_level to 'info' but that won't work if the environment
    is copied to staging.rb, for instance. Better to have it explicitly set.
    rosenfeld authored

Apr 13, 2012

  1. Aditya Sanghi

    Hey, let's just make it easier for everyone and dump the unmaintained…

    … ruby-debug19 and move to debugger. Whats the consensus here? If we want better adoption on ruby1.9, please lets just use this fork.
    asanghi authored

Apr 12, 2012

  1. Vijay Dev

    Merge branch 'master' of github.com:lifo/docrails

    vijaydev authored

Apr 11, 2012

  1. Vijay Dev

    copy editing [ci skip]

    vijaydev authored

Apr 08, 2012

  1. Gaurish Sharma

    Added instructions on port number

    gaurish authored

Apr 05, 2012

  1. Andrey Sitnik

    Remove unnecessary in HTML 5 type attribute with default value

    ai authored
Something went wrong with that request. Please try again.