HI Owen: At the moment, I'm just trying to get playlist and playlistItems working. I was missing a couple of things from the example. First, I didn't have accessible => true. Second, I was missing the has_many on video. Sadly still no joy.
I'm gonna create a blank hobo app, and paste in pieces as I go. I'll report back the results in a couple hours. Thanks again! Paul On Jan 22, 3:34 am, Owen <[email protected]> wrote: > See the code and comment: > > http://gist.github.com/283700 > > Note I didn't use any view hints, and the associated name for the > Playlistitem class is the table playlistitems. > > Not sure if this is what you were looking for. > - > > On Jan 22, 6:25 am, Owen <[email protected]> wrote: > > > Another screen shot: > > >http://screencast.com/t/NjBiOWEyM > > > Is this what you are looking for? > > > On Jan 21, 10:57 pm, Owen <[email protected]> wrote: > > > > Here is what I have so far: > > > >http://screencast.com/t/ZWYxMTA2MG > > > > I think a use case explaining the intended flow would be useful to > > > all... > > > > -Owen > > > On Jan 21, 10:12 pm, Owen Dall <[email protected]> wrote: > > > > > Whoops. Didn't see your "Archive" or "Workspace" model files... > > > > > On Thu, Jan 21, 2010 at 9:24 PM, Me <[email protected]> wrote: > > > > > All: Thank you for the help. It's very encouraging. > > > > > > Matt: thanks for the tips. > > > > > > Owen: I'm getting with the times. Here's the gist w/ the relevant > > > > > model / controller bits. Also the tags and output. > > > > > >http://gist.github.com/283438 > > > > > > What it should [ used to ] do is create a form that enables a user to > > > > > add a video [ playlistItem] to his playlist. The actual generated > > > > > form leaves the field set blank, making it impossible to select from > > > > > the available videos. I seem to remember it populated a select box > > > > > with video.title displayed -- I'm not sure how it got that from > > > > > "video" as the only field-list item. > > > > > > Thanks! Paul > > > > > > On Jan 21, 4:22 pm, Matt Jones <[email protected]> wrote: > > > > > > On Jan 21, 2010, at 6:15 PM, Me wrote: > > > > > > > > I did the same for the other models. Still, no working in line > > > > > > > forms. > > > > > > > Still just a headline and a save button. There's still ample > > > > > > > room for > > > > > > > me to root through the docs on this. At the same time, I thought > > > > > > > I'd > > > > > > > ask if you have any hints? > > > > > > > Also note that if you want an inline form, you'll need to have an > > > > > > auto_actions_for declaration like this: > > > > > > > auto_actions_for :workspace, [:create] > > > > > > > as the code in pages.dryml.erb is looking for a missing > > > > > > new_for_workspace and a present create_for_workspace; having the > > > > > > :new > > > > > > auto-action will yield a link instead. > > > > > > > --Matt Jones > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > > > Groups > > > > > "Hobo Users" group. > > > > > To post to this group, send email to [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<hobousers%[email protected]> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/hobousers?hl=en. > > > > > -- > > > > Thanks, > > > > > Owen > > > > > Owen Dall > > > > Barquin International > > > > 410-991-0811 -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
