Possible Duplicate:
In Ruby, what are the vertical lines?
This question seems Google-proof, and I do not know Ruby.
Comparing different presence of |f|
at the end of a line in a model description causes content not to be shown. I am just trying to fix a bug in a page that does not provide access to some information in a table.
"What does ||= do in Ruby" about the ||
does not seem to help.
Here is the suspect code from the broken .rb file:
comma :show_mytable do |f|
table2 :field2
table3 :field3
end
but this seems to work, showing the desired fields when activated:
comma :show_mytable do
table2 :field2
table3 :field3
end
Could |f|
prevent output from showing?