<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/spec/helpers, branch 3521-workbench_output_controller</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Refs: #3521@7.5h;</title>
<updated>2017-11-20T08:58:28+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-10-06T14:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=de1ae2c90b5754219d387d2e0ad93cdcf11e46cd'/>
<id>de1ae2c90b5754219d387d2e0ad93cdcf11e46cd</id>
<content type='text'>
        - Sketched out view with table_builder_2

Ongoing:
        - debug Ransack filter pagination
        - debug pagination
        - clarify some fields
           - semantics of STATUT, PUBLISHED_AT, ÉTAT INTEGRATION
           - display of ÉTAT INTEGRATION
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        - Sketched out view with table_builder_2

Ongoing:
        - debug Ransack filter pagination
        - debug pagination
        - clarify some fields
           - semantics of STATUT, PUBLISHED_AT, ÉTAT INTEGRATION
           - display of ÉTAT INTEGRATION
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #110 from af83/4755-page_for_validate_referential</title>
<updated>2017-11-08T14:17:42+00:00</updated>
<author>
<name>teddywing</name>
</author>
<published>2017-11-08T14:17:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4dbe0a7b5acf4e244016d58d59a96aca36035263'/>
<id>4dbe0a7b5acf4e244016d58d59a96aca36035263</id>
<content type='text'>
4755 page for validate referential</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
4755 page for validate referential</pre>
</div>
</content>
</entry>
<entry>
<title>fix specs</title>
<updated>2017-11-06T16:01:58+00:00</updated>
<author>
<name>Guillaume</name>
</author>
<published>2017-11-06T16:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=87642d0d28328f0e6e3a1928d6b6edbcdab72f4a'/>
<id>87642d0d28328f0e6e3a1928d6b6edbcdab72f4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title> Refs: #4802@2h; Replaying former work. To identify spec regression</title>
<updated>2017-11-02T06:52:45+00:00</updated>
<author>
<name>Robert</name>
</author>
<published>2017-11-01T19:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=c3c32ae541cfb018877af964f122b15f6f15b984'/>
<id>c3c32ae541cfb018877af964f122b15f6f15b984</id>
<content type='text'>
    Step 2: Added validation of reference-&gt;workbench-&gt;organisation consistency
            Made all specs pass
            Chased bug #4826
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    Step 2: Added validation of reference-&gt;workbench-&gt;organisation consistency
            Made all specs pass
            Chased bug #4826
</pre>
</div>
</content>
</entry>
<entry>
<title>create base structure for compliance_control_sets</title>
<updated>2017-09-14T14:28:54+00:00</updated>
<author>
<name>Guillaume</name>
</author>
<published>2017-09-14T14:28:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=1e58dfdbfbecccda78e2fe3854b2ba04a72bd511'/>
<id>1e58dfdbfbecccda78e2fe3854b2ba04a72bd511</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>TableBuilderHelper spec: Update with `Column#link_to` calls</title>
<updated>2017-09-01T16:03:16+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-01T16:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=af050e3cbd7b6d931dbf7faf9ed1e3a9cf3cf6f7'/>
<id>af050e3cbd7b6d931dbf7faf9ed1e3a9cf3cf6f7</id>
<content type='text'>
The `TableBuilderHelper` now requires you to specify a `link_to`
attribute in a column you want to make a link out of instead of doing it
automagically as before.

Update the tests to do this and continue to output the right `&lt;a&gt;`s for
links.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `TableBuilderHelper` now requires you to specify a `link_to`
attribute in a column you want to make a link out of instead of doing it
automagically as before.

Update the tests to do this and continue to output the right `&lt;a&gt;`s for
links.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "TableBuilderHelper::Column#link_to: Allow arbitrary number of arguments"</title>
<updated>2017-09-01T15:22:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-01T14:51:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=df64a6dcbc38cefe41c74bcb1d2d166d13711b23'/>
<id>df64a6dcbc38cefe41c74bcb1d2d166d13711b23</id>
<content type='text'>
This reverts commit 28db706443a912e8355e4c48488dc40c403e7f76.

Turns out we didn't need to be able to pass an arbitrary number of
arguments to the lambda after all. The URL helper objects necessary in
addition to the first argument to the lambda can be retrieved from the
view context directly instead of passing them into the block as
parameters (which would actually make things more difficult, because the
block is called in the `TableBuilderHelper`, thus outside the scope of
the view).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 28db706443a912e8355e4c48488dc40c403e7f76.

Turns out we didn't need to be able to pass an arbitrary number of
arguments to the lambda after all. The URL helper objects necessary in
addition to the first argument to the lambda can be retrieved from the
view context directly instead of passing them into the block as
parameters (which would actually make things more difficult, because the
block is called in the `TableBuilderHelper`, thus outside the scope of
the view).
</pre>
</div>
</content>
</entry>
<entry>
<title>TableBuilderHelper::Column#link_to: Allow arbitrary number of arguments</title>
<updated>2017-09-01T14:04:59+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-01T14:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=28db706443a912e8355e4c48488dc40c403e7f76'/>
<id>28db706443a912e8355e4c48488dc40c403e7f76</id>
<content type='text'>
This enables us to pass multiple objects into the lambda, so that we can
for example build a URL using a Rails helper using multiple objects.

Example:

    column.link_to(referential, item)

    lambda do |referential, item|
      some_path(referential, item)
    end
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This enables us to pass multiple objects into the lambda, so that we can
for example build a URL using a Rails helper using multiple objects.

Example:

    column.link_to(referential, item)

    lambda do |referential, item|
      some_path(referential, item)
    end
</pre>
</div>
</content>
</entry>
<entry>
<title>TableBuilderHelper::Column: Add `#linkable?` method</title>
<updated>2017-09-01T12:52:53+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-01T12:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=7f85e8bbb15ec4063dad8b080e61d690b77dead7'/>
<id>7f85e8bbb15ec4063dad8b080e61d690b77dead7</id>
<content type='text'>
This tells the markup assembler whether or not this column should be
wrapped in a link (`&lt;a&gt;`). It intends to serve the same purpose as
`TableBuilderHelper#column_is_linkable`, but at the column level. The
idea is to remove that method when these links only operate by column
and not by pre-defined values like before/now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This tells the markup assembler whether or not this column should be
wrapped in a link (`&lt;a&gt;`). It intends to serve the same purpose as
`TableBuilderHelper#column_is_linkable`, but at the column level. The
idea is to remove that method when these links only operate by column
and not by pre-defined values like before/now.
</pre>
</div>
</content>
</entry>
<entry>
<title>TableBuilderHelper::Column: Add `link_to` argument</title>
<updated>2017-09-01T12:47:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2017-09-01T12:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9574d8b8351fd59eeada05a1ba71893a82b86989'/>
<id>9574d8b8351fd59eeada05a1ba71893a82b86989</id>
<content type='text'>
This parameter will be used as the `href` to link the column value
somewhere.

We give it a lambda because this makes it easier to call any method on
the row object.

This means the accessor needs to take the object as an argument, like in
the `#value` method, because we don't have a better way to handle that
(it can't be done at initialisation time because at that point we don't
have row objects, we have a collection).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This parameter will be used as the `href` to link the column value
somewhere.

We give it a lambda because this makes it easier to call any method on
the row object.

This means the accessor needs to take the object as an argument, like in
the `#value` method, because we don't have a better way to handle that
(it can't be done at initialisation time because at that point we don't
have row objects, we have a collection).
</pre>
</div>
</content>
</entry>
</feed>
