<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/engines/support, branch 0.5.2-rc</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>fix flash for creating anonymous tickets</title>
<updated>2014-05-29T18:11:29+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-29T18:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=9e3be686ff2751707369894382293924420830d0'/>
<id>9e3be686ff2751707369894382293924420830d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>adopt tests to new translations</title>
<updated>2014-05-29T18:10:11+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-29T18:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=6a5e5edf54c76bea3de93475d949c3372d376a81'/>
<id>6a5e5edf54c76bea3de93475d949c3372d376a81</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>destroy_btn helper method</title>
<updated>2014-05-28T07:26:17+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-28T07:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=df1c2438fcfe39edfb46546be8fcee5021f95fc3'/>
<id>df1c2438fcfe39edfb46546be8fcee5021f95fc3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add btn helper for link_to with .btn</title>
<updated>2014-05-27T14:32:50+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-27T14:32:50+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=cc59ce53e52bf48d97de16d66012e8309bf98fe8'/>
<id>cc59ce53e52bf48d97de16d66012e8309bf98fe8</id>
<content type='text'>
Also translates the first arg if it's a symbol and adds more btn- classes if given as html_options[:type]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also translates the first arg if it's a symbol and adds more btn- classes if given as html_options[:type]
</pre>
</div>
</content>
</entry>
<entry>
<title>navigation works with empty locale selected</title>
<updated>2014-05-26T11:01:34+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-24T08:33:31+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=4085e3fabef6427cd3f8be9b61c209bd82eaa595'/>
<id>4085e3fabef6427cd3f8be9b61c209bd82eaa595</id>
<content type='text'>
Just in case some translation keys are not present things should still work and make sense.
So translation keys should be picked in a meaningful way and scoped rather than prefixed.
For example overview.account will turn into "Account" if no translation is present while "overview_account" will turn into "Overview Account". We usually want the former.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just in case some translation keys are not present things should still work and make sense.
So translation keys should be picked in a meaningful way and scoped rather than prefixed.
For example overview.account will turn into "Account" if no translation is present while "overview_account" will turn into "Overview Account". We usually want the former.
</pre>
</div>
</content>
</entry>
<entry>
<title>tickets: structure i18n</title>
<updated>2014-05-26T11:00:05+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-22T12:57:29+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=19bce0f114180f355f0df367cf6d21bd957734a6'/>
<id>19bce0f114180f355f0df367cf6d21bd957734a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>flash_for with_errors option displays error messages</title>
<updated>2014-05-26T10:59:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-20T11:50:32+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=560eb039f4778257559395583e1233d052d44127'/>
<id>560eb039f4778257559395583e1233d052d44127</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Controller#flash_for instead of FlashResponder</title>
<updated>2014-05-26T10:59:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-20T11:09:59+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=c10f9311678ff2183443bc03e153b30d3b68ff74'/>
<id>c10f9311678ff2183443bc03e153b30d3b68ff74</id>
<content type='text'>
FlashResponder added a flash before responding. However at the point of responding objects have already been saved. So there is no way to test if they were changed.

Now instead we can call
  flash_for resource
before
  resource.save

and it will add the flash messages only if the resource was actually changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FlashResponder added a flash before responding. However at the point of responding objects have already been saved. So there is no way to test if they were changed.

Now instead we can call
  flash_for resource
before
  resource.save

and it will add the flash messages only if the resource was actually changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>split up and refactor TicketController#update</title>
<updated>2014-05-26T10:59:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-20T10:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=467dd712a19d48fc653cfc0e58201e6657d2c1f9'/>
<id>467dd712a19d48fc653cfc0e58201e6657d2c1f9</id>
<content type='text'>
close and open actions for plain opening and closing the tickets
respond_with so fields are not cleared on invalid update

the custom actions are not strictly restful. But adding a subresource felt like too much overhead and is conceptually hard to grasp (so we destroy the openess of the ticket to close it?).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
close and open actions for plain opening and closing the tickets
respond_with so fields are not cleared on invalid update

the custom actions are not strictly restful. But adding a subresource felt like too much overhead and is conceptually hard to grasp (so we destroy the openess of the ticket to close it?).
</pre>
</div>
</content>
</entry>
<entry>
<title>separate tests for the ticket list from main controller test</title>
<updated>2014-05-26T10:59:26+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-05-20T09:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=7638970e233eaebc48abd499c37c274b48c97a96'/>
<id>7638970e233eaebc48abd499c37c274b48c97a96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
