Milestones

1.0

m4rw3r

  

StandUp Reports

No reports found

Tickets and Code Commits

Wiki Events

Messages

  • Re: Behaviors that change data

    Thanks, that sounds like a good workable solution!<br /><br />Are you looking for core contributors?

  • Re: Behaviors that change data

    What you can do is to change a property with the save_pre_strip_data, eg. title, then restore it on the save_pre_insert/update hooks:<br /><pre>class someclass{ // may be a behaviour or not, easier with a class, also possible with globals var $temp_title; function pre_strip_data(&amp;$obj) { ...</pre><br /> <a href="/spaces/IgnitedRecord/messages/448153">translation missing: en.more...</a>

  • Behaviors that change data

    Hello,<br /><br />Thanks for the IgnitedRecord. Its been a big help to me. However, I've run into a problem I can't figure out how to get around without editing the core IR classes, which I'd rather not do.<br /><br />I've created a simple Upload behavior, that lets you handle uploads in a model without having to put in th...<br /><br /><br /><br /><br /><br /><br /><br /> <a href="/spaces/IgnitedRecord/messages/40279">translation missing: en.more...</a>

  • Re: Is there a better way (one-to-one relations)?

    The best option for you is probably to create a wrapper method (or overwriting the find() method in a child class).<br />This wrapper method should use CI's Active Record methods to include the other columns (technically it will be IgnitedQuery, but who cares?) or use the join_related() method (in your ca...<br /><br /><br /><pre></pre><br /><br /><br /><pre></pre><br /><br /><br /><br /> <a href="/spaces/IgnitedRecord/messages/340037">translation missing: en.more...</a>

  • Is there a better way (one-to-one relations)?

    I'm new to IgnitedRecord, but familiar with ORM and ActiveRecord patterns.<br /><br />I track created/lastedited/deleted information for all my db records. In proper 4th normal form, I have moved all this info into it's own table called 'metadata.' I use globally unique keys so the key to the metadata is the sa...<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <a href="/spaces/IgnitedRecord/messages/321435">translation missing: en.more...</a>

translation missing: en.more_messages...

Team

Tasks Assigned to Me

No tasks assigned to you

Tickets Assigned to Me

No tickets assigned to you