<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_web.git/help/app/models/account_extension, branch 0.5.2</title>
<subtitle>[leap_web] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/'/>
<entry>
<title>move engines into engines directory</title>
<updated>2014-04-11T08:07:23+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2014-04-11T08:03:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=636692f9921bd695d726695d2d46c91f5a6e56f3'/>
<id>636692f9921bd695d726695d2d46c91f5a6e56f3</id>
<content type='text'>
Also renamed help to support so it's harder to confuse it with documentation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also renamed help to support so it's harder to confuse it with documentation
</pre>
</div>
</content>
</entry>
<entry>
<title>destroy all tickets created by a user when account is destroyed</title>
<updated>2013-11-06T10:30:33+00:00</updated>
<author>
<name>Azul</name>
<email>azul@leap.se</email>
</author>
<published>2013-11-06T10:26:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_web.git/commit/?id=24598b5c5e4df20c423ec74ea8e9df1592483c6b'/>
<id>24598b5c5e4df20c423ec74ea8e9df1592483c6b</id>
<content type='text'>
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed.

The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id.

I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to keep the users engine independent of the tickets engine i added a generic load hook to the account model. The tickets engine then monkeypatches the account destruction and destroys all tickets before the user is destroyed.

The tickets are destroyed first so that even if things break there should never be tickets with an outdated user id.

I would have prefered to use super over using an alias_method_chain but I have not been able to figure out a way to make account a superclass of the account extension and still refer to Account from the users engine.
</pre>
</div>
</content>
</entry>
</feed>
