<%= render 'credit_card_info', :f => f %>
Then 'f' will be available as a local variable
http://stackoverflow.com/questions/4700617/pass-a-variable-into-a-partial-rails-3
Then 'f' will be available as a local variable
http://stackoverflow.com/questions/4700617/pass-a-variable-into-a-partial-rails-3
No comments:
Post a Comment