So to continue,
I have been unable to determine the how of 'for', as in
<def tag="signup-form" for="User">
works exactly. I have read thru all the very dry manuals and posts and
searched the
internet for any hint, but none forthcoming. This may well be a known
rails or ruby
convention, but being a newcomer I have no in depth knowledge of that.
Is there some magic whereby invoking <signup-form> will know I am
talking about
'User'? Do I need to do:
<signup-form with="&User.new">
when I added:
<field-list/>
I only got a
<table class="field-list"> tag added.
And after rtfm about <field-list> I tried:
<field-list:>#{this_field.to_s.sub('?','name'},#{this_field.to_s.sub
('?','email_address')}-tag</field-list:>
Nope, wrong guess again evidently. did not add any additional
benefits. So if by chance some kind
soul could set me on the right course with a good cup of grog and some
instructions on where I am
floundering ashore, I would truly appreciate it.
And I still haven't discovered anywhere in the doc's where it mentions
what that 'for' in a def does in regard
to the various objects it is for...
jet
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---