New syntax for hiding relationships

Posted by jgehtland Sat, 21 Oct 2006 09:37:49 GMT

Just checked into head, will be part of 0.0.6 release this week, if you want to hide a relationship from the views, you can use:

relationship :relationship_name, :off

Synonyms you can use for the :off value:

:off|:none|:false|false

This also fixes Ticket #66.

Posted in ,  | Tags , , ,  | 4 comments | no trackbacks

Trackbacks: 0

Use the following link to trackback from your own site: http://streamlinedframework.org/articles/trackback/14

Comments: 4

Leave a response | RSS feed for this post

  1. # BillSaysThis said 25 minutes later:

    Um, why are there two :false values and are off, none and false (convenience) aliases for each other?

  2. # justin said 36 minutes later:

    They are all just convenience aliases, and the two falses are a symbol (:false) and the value (false)

  3. # kk said 7 days later:

    is 0.0.6 truely going to be released this week? it is getting late and i can barely wait. let me stop sitting on my hands if not. thanks, and some of us do realize what it is like to have to work for a living…..

  4. # kk said 9 days later:

    guess that answered my question ;-)

Leave a response

Toggle website and email fields