Joined August 2013
·
Posted to
Blank Facebook Canvas With Rails
over 1 year
ago
Why set an invalid value for it when you can just remove it altogether?
def allow_iframe
response.headers.except! 'X-Frame-Options'
end
Achievements
12 Karma
0 Total ProTip Views

Charity
Fork and commit to someone's open source project in need
This just saved my ass. I was about to nuke everything that I've been working on with a form object since Saturday morning. Literally the only example of a form object with a has_many association that I've found on the entire Interwebz.