Sha256: 1f7bc1c725472ec085a3ce92e77019377c9c588322545a7cb85c89bb59a9627d

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

CHANGELOG
=========

2015-12-28 - v0.10.4
--------------------
### Added
* Allow #find(ids) on collection instance that could be the result of a
  `joins` or an `includes` scope setup call

2015-12-26 - v0.10.3
--------------------
### Added
#### Add includes option for initializing a collection
```
  employees = Employee::Collection.includes(:project).where(state: 'active')
  employee.map(&:project) #=> one query
```

####
Add `#refine_relation` option to refine the collection by means of a
scope or include
```
  class Employee
    def self.with_project
      includes(:project)
    end
  end
  employees = Employee::Collection.where(state: 'active')
  employees.refine_relation{ with_project } #=> collection object with refined ActiveRecord relation object if it is instantiated as such
```

2015-12-26 - v0.10.2
--------------------
### Added
* Add append_text option for optional booleans

2015-12-26 - v0.10.1
--------------------
### Added
* Add hint option for optional booleans

2015-12-25 - v0.10.0
--------------------
### Changed
* renamed uniform_collection_attribute to uniform_collection_value

### Fixed
* Make optionals active when all the values in the collection are nil

2015-12-15 - v0.9.2
-------------------

### Added
#### Allow initialize with multiple chaning scope
```
Employee::Collection.where(a: 1).where(b: 3)
Employee::Collection.where(a: 1).where.not(b: 3)
```

2015-12-09 - v0.9.1
-------------------

### Added
* Use string separator argument like: RecordCollection.id\_separator

2015-11-03 - v0.9.0
-------------------

### Added
* Allow block without argument in before and after update hooks

2015-11-03 - v0.8.3
-------------------

### Added
* before\_record\_update hook


2015-11-03 - v0.8.2
-------------------

### Added
* Smarter find on collection object

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
record_collection-0.10.4 CHANGELOG.md