But what's the actual problem? you say you have some problem but you just
pasted code with no indication on where to look. Do you have a render
error? do you have the view rendering ok but when you submit it it does not
do what you want? if it does not do what you want, what's the excepted vs
the a
I agree I can clean up the build but the problem I am having is in the
form, not the models...
I need to structure the nested form and I can't seem to figure out the
rails syntax...
Just experimenting, and currently, this is the closest I have gotten to
what I am trying to do...
<% @dd_deta
I'm not sure I understand what's the problem, where exactly do you have
doubts?
I'd suggest you first refactor that super ugly nested loops and ifs:
- remove the unnecesarry if's
DdCategory.all.each do |category|
# If the Category is active, build it
if category.is_active?
can't y
> Another thing to note is I am also only doing an Edit of the data as the
> records already have been created and are not allowed to be destroyed.
>
John
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group
4 matches
Mail list logo