Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Nov 9, 2009
  1. Fix display for non-standard formats (yaml, etc)

    authored
    Rails provides custom rendering for certain "standard formats",
    specifically :xml, :js and :json. This fix forces InheritedResources to
    render nonstandard mime-types as :text and ensures that they are
    formatted correctly. Resources for standard Mime types that Rails
    handles are passed without formatting to allow Rails to format them
    itself.
    
    - Rename Responder#to_format as Responder#call and refactor
      Responder.call to use it.
    - Add tests for InheritedResources controllers with respond_to(:yaml)
    - Add undef :to_yaml
    - Use the formatted resource and :text render type for
      non-standard formats
Commits on Oct 15, 2009
  1. @josevalim
  2. @josevalim

    Release to gemcutter.

    josevalim authored
Commits on Sep 30, 2009
  1. @josevalim
  2. @josevalim

    Updated CHANGELOG.

    josevalim authored
  3. @josevalim

    Bump version.

    josevalim authored
  4. @josevalim

    Tidying up some loose ends.

    josevalim authored
  5. @sabotatore @josevalim

    Correct default resource_name for flash

    sabotatore authored josevalim committed
      Before: FileVersion => Fileversion
      After: FileVersion => File version
  6. @JackDanger @josevalim

    avoiding common `classify` bug with singular nouns

    JackDanger authored josevalim committed
    Most singular nouns can be `classify`'d just fine but anything
    that ends in 's' in the singular form will be improperly transformed.
    
    If a resource is named :business the previous code would attempt:
    
       :business.to_s.classify.constantize # => Unknown Constant 'Busines'
    
    This patch allows:
    
       :business.to_s.pluralize.classify.constantize # => Business
  7. @JackDanger @josevalim

    adding support for :if and :unless scope options

    JackDanger authored josevalim committed
    This provides the same functionality as the :if and :unless behavior
    on before_filters and after_filters.  A scope will be applied if :if
    evaluates to true and will be skipped if :unless evaluates to true.
    
    Particularly helpful for situations like the following:
    
      has_scope :not_deleted, :default => true, :unless => :is_admin?
    
    Accepts:
      - Strings
      - Procs
      - Symbol method names
  8. @JackDanger @josevalim

    getting tests working with recent gem versions

    JackDanger authored josevalim committed
  9. @josevalim

    Pagination example working for will_paginate

    Paul Campbell authored josevalim committed
Commits on Sep 28, 2009
  1. @josevalim
Commits on Sep 20, 2009
  1. @carlosantoniodasilva @josevalim

    Introducing new controller helpers: create_resource, update_resource …

    carlosantoniodasilva authored josevalim committed
    …and destroy_resource.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. @carlosantoniodasilva @josevalim

    Removing has_scope deprecation in class_methods test.

    carlosantoniodasilva authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Sep 19, 2009
  1. @josevalim

    Fix warning message on DumbResponder

    Darrick Wiebe authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. @josevalim

    Fixed specifying actions in ruby 1.9.1

    Darrick Wiebe authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Sep 9, 2009
  1. @josevalim
Commits on Sep 4, 2009
  1. @josevalim

    Kick tests back to life.

    josevalim authored
Commits on Sep 3, 2009
  1. @ellenvb @josevalim

    Tests flash messages on destroy

    ellenvb authored josevalim committed
    Signed-off-by: José Valim <jose.valim@gmail.com>
  2. @ellenvb @josevalim

    Test if the object was successfully destroyed or not, providing the r…

    ellenvb authored josevalim committed
    …ight flash message (:notice or :error) for each case. Business rules can avoid destroying.
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
Commits on Sep 1, 2009
  1. @josevalim
  2. @josevalim

    Updated README

    josevalim authored
  3. @josevalim

    Bump tiny.

    josevalim authored
  4. @josevalim
  5. @josevalim

    Added parent_url.

    josevalim authored
  6. @josevalim

    Added association_chain.

    josevalim authored
  7. @josevalim
Commits on Aug 28, 2009
  1. @josevalim
Commits on Aug 25, 2009
  1. @josevalim
  2. @josevalim
  3. @josevalim
  4. @josevalim
  5. @josevalim

    Added responder and legacy.

    josevalim authored
  6. @josevalim

    Documentation patches.

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