Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 13, 2015
  1. @carlosantoniodasilva

    Do not generate label/content/wrapper/collection classes when config …

    carlosantoniodasilva authored
    …is set to `nil`
    
    Allows disabling/ignoring the generation of these classes when they are
    not necessary.
Commits on Apr 12, 2015
  1. @carlosantoniodasilva

    Release 0.4.0

    carlosantoniodasilva authored
    Closes #76.
Commits on Mar 11, 2015
  1. @carlosantoniodasilva

    Change default wrapper tag to generate valid html output on collections

    carlosantoniodasilva authored
    Previously we were generating a `p` wrapper with an `ul` list inside,
    which is invalid html. Changing the default wrapper to a div should be
    harmless in most scenarios, since people should be relying on the css
    class to style and both are block elements, so we should be good.
    
    In case someone is relying on the `p` wrapper, it's possible to get this
    functionality back on their app simply by setting the `wrapper_tag` to
    generate a `:p` tag again.
    
    This fixes 12 failing tests out of 14 on Rails 4.2, and it was caught
    due to the changes in Rails 4.2 HTML sanitization which now uses
    nokogiri to validate the generate HTML on assert_select.
    
    More information can be found on the release notes:
    http://guides.rubyonrails.org/4_2_release_notes.html#assert-select
  2. @carlosantoniodasilva
Commits on Mar 10, 2015
  1. @killthekitten
Commits on Jan 3, 2015
  1. @carlosantoniodasilva

    Remove deprecated method

    carlosantoniodasilva authored
    It's been 4 years since it was deprecated :)
Commits on Sep 15, 2014
  1. @carlosantoniodasilva

    Ensure separators can be disabled on a per attribute basis

    carlosantoniodasilva authored
    And add changelog entry for #71.
  2. @bernardofire
Commits on Aug 9, 2014
  1. @voanhduy1512

    add support for slim

    voanhduy1512 authored
Commits on May 5, 2014
  1. @carlosantoniodasilva
  2. @carlosantoniodasilva

    Merge pull request #57 from moktin/master

    carlosantoniodasilva authored
    Add skip_blanks option
    
    Conflicts:
    	lib/show_for/content.rb
  3. @carlosantoniodasilva
  4. @carlosantoniodasilva

    Merge pull request #64 from aptinio/block_with_blank_association

    carlosantoniodasilva authored
    Do not pass blank_value to block.
  5. @carlosantoniodasilva

    Refactor associations checks based on responding to #to_ary

    carlosantoniodasilva authored
    Both Arrays and AR Collections should respond to #to_ary, so we should
    be safe relying on them.
  6. @carlosantoniodasilva

    Merge pull request #66 from plataformatec/rm-fix-association-rails-4

    carlosantoniodasilva authored
    Use duck type instead of class check
Commits on Mar 18, 2014
  1. @carlosantoniodasilva
Commits on Sep 21, 2013
  1. @rafaelfranca

    Use duck type instead of class check

    rafaelfranca authored
    Rails 4 returns a CollectionProxy object when you call the association
    method, so we need to check if the object we have respond to some
    methods instead of checking if it is an Array
    
    Fixed #61
Commits on Jul 25, 2013
  1. @tfwright
Commits on Jul 24, 2013
  1. @aptinio

    Do not pass blank_value to block.

    aptinio authored
    This fixes the problem wherein "Not specified." is passed
    to the association block when the association is empty.
Commits on Jul 19, 2013
  1. @fabiokr

    `capture` expects a string, so non-string content gets ignored. This

    fabiokr authored
    fixes that by casting the custom value to a string.
Commits on May 8, 2013
  1. @carlosantoniodasilva

    Release 3.0 rc

    carlosantoniodasilva authored
  2. @carlosantoniodasilva

    Release 0.2.6

    carlosantoniodasilva authored
Commits on Jan 28, 2013
  1. @carlosantoniodasilva
Commits on Oct 16, 2012
  1. @nashby

    add haml template

    nashby authored
    closes #12
Commits on Oct 15, 2012
  1. @nashby
Commits on Jul 24, 2012
  1. @rafaelfranca
  2. @fabiokr
Commits on Jul 21, 2012
  1. added apply_wrapper_options!(type, options, value) and added this met…

    Blake H authored
    …hod to options that are passed to wrap_with
Commits on Jul 19, 2012
  1. @blakehilscher
Commits on May 30, 2012
  1. @nashby
Commits on May 23, 2012
  1. @nashby

    add show_for_class option to config

    nashby authored
    closes #39
Commits on May 22, 2012
  1. @nashby
Commits on May 12, 2012
  1. @carlosantoniodasilva
  2. @carlosantoniodasilva
Commits on Jan 25, 2012
  1. @nashby

    fix issue #11

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