Flowdock
method

select

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: LazyAttributeHash
select() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_set/builder.rb, line 59
    def select
      keys = types.keys | values.keys | delegate_hash.keys
      keys.each_with_object({}) do |key, hash|
        attribute = self[key]
        if yield(key, attribute)
          hash[key] = attribute
        end
      end
    end
Register or log in to add new notes.