Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Yurii Rashkovskii's latest activity

Monday, April 28 2008
15 Figure out how to organize views for associations was updated in StrokeDB
  • Yurii Rashkovskii
    Yurii Rashkovskii commented at 9:00 AM

    // #14 had some useful code snippet but was resolved as duplicate for this ticket

  • Yurii Rashkovskii
    Yurii Rashkovskii commented at 8:58 AM

    One of my concerns is that having N views to execute on each index update for N associations defined within database might be PIA

  • Yurii Rashkovskii
    • Title changed from Consider allowing unnamed views to Figure out how to organize views for associations
    by Yurii Rashkovskii at 8:45 AM

    The picture you're trying to describe is not clear for me.

    Here is an attempt to summarize:

    Lets say we have a view for all has_many associations:

    (the code...

  • Yurii Rashkovskii
    Yurii Rashkovskii commented at 8:19 AM

    Please note that "{container}_has_many_{items}" will need to include nsurls for both container and items as well. Is that fine?

  • Yurii Rashkovskii
    Yurii Rashkovskii created the ticket at 6:37 AM

    The idea is to allow unnamed views. They should be quite useful for associations, something like

    User = Meta.new
      has_many :items
    end
    

    produces following ...

14 has_many association based on Views was updated in StrokeDB
Merge branch 'master' into new-views ... was committed by Yurii Rashkovskii at 12:34 AM
fixed spec for Time encoding (microse... was committed by Yurii Rashkovskii at 12:34 AM
Merge branch 'master' into new-views ... was committed by Yurii Rashkovskii at 12:31 AM
fixed slot_spec http://github.com/yra... was committed by Yurii Rashkovskii at 12:30 AM