How to hide footer layout on a particular page?
The easiest/quickest way would probably be to define a conditional:
<%= render "layouts/footer" unless @skip_footer %>
and then set the variable as necessary in your actions:
def non_footer_action
do_stuff
@skip_footer = true
end