<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/models/compliance_control_validations, branch master</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Remove `hstore_accessor` usage</title>
<updated>2017-12-21T14:32:42+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-12-19T15:35:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4918ffcd7492661f36a763cdf248757993f9bff4'/>
<id>4918ffcd7492661f36a763cdf248757993f9bff4</id>
<content type='text'>
The places we were using `hstore_accessor` have now been converted to
Postgres JSON fields. Thus we no longer need `hstore_accessor` in order
to add accessors for the fields.

Instead we can use Rails' built-in support for Postgres JSON fields and
create accessors for our JSON hash keys with `store_accessor`. We get
rid of the data types because `store_accessor` doesn't work like that
and JSON already types our values with primitive data types.

Finally, add some extra validation tests now that the vaildation for our
JSON fields should work.

Refs #5316
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The places we were using `hstore_accessor` have now been converted to
Postgres JSON fields. Thus we no longer need `hstore_accessor` in order
to add accessors for the fields.

Instead we can use Rails' built-in support for Postgres JSON fields and
create accessors for our JSON hash keys with `store_accessor`. We get
rid of the data types because `store_accessor` doesn't work like that
and JSON already types our values with primitive data types.

Finally, add some extra validation tests now that the vaildation for our
JSON fields should work.

Refs #5316
</pre>
</div>
</content>
</entry>
<entry>
<title>Hotfix correction</title>
<updated>2017-10-16T08:28:18+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-16T08:28:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=cb8c37b2902c07a1869ce991ce3f382eea25c812'/>
<id>cb8c37b2902c07a1869ce991ce3f382eea25c812</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Hotfix deactivated pending tests</title>
<updated>2017-10-16T07:47:14+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-16T07:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=cd480fff1486c7da53019b934dc454558dca808c'/>
<id>cd480fff1486c7da53019b934dc454558dca808c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes: #4270@0.1h; removed pattern validation</title>
<updated>2017-10-16T07:26:49+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-16T07:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=d9ef8415e1da99db258a5181bff16b213f8c231a'/>
<id>d9ef8415e1da99db258a5181bff16b213f8c231a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4720@1.3h;</title>
<updated>2017-10-16T05:50:34+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-13T16:17:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9dd7b4d050b64b6fcaebb2cd3f635593a0cb34c3'/>
<id>9dd7b4d050b64b6fcaebb2cd3f635593a0cb34c3</id>
<content type='text'>
   Validation implemented for min_max_values with correct I18n'd error messages

Applied to: VehicleJourneyControl::Speed &amp; GenericAttributeControl::MinMax
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
   Validation implemented for min_max_values with correct I18n'd error messages

Applied to: VehicleJourneyControl::Speed &amp; GenericAttributeControl::MinMax
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs: #4270@0.6h;</title>
<updated>2017-10-16T05:47:37+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-13T14:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c266ee913353d67a3674ed6188c2ff96b44407c1'/>
<id>c266ee913353d67a3674ed6188c2ff96b44407c1</id>
<content type='text'>
  GenericControlAttribute validation speced for

    - MinMax
    - Pattern
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  GenericControlAttribute validation speced for

    - MinMax
    - Pattern
</pre>
</div>
</content>
</entry>
</feed>
