Created
December 3, 2008 15:52
-
-
Save ariejan/31588 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.protect_against_forgery? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Beste <%= invited.name %>, | |
Ik ben geïnteresseerd in je en ben je daarom gaan volgen. | |
Wil jij mij ook volgen en zo een vriendschap sluiten? Klik dan op de onderstaande link: | |
<%= link_to "Wordt nu vrienden met #{inviter.name}", "/friends?inviter_id=#{inviter.id}&invited_id=#{invited.id}", :method => :post %> | |
Groetjes, | |
<%= inviter.name %> | |
PS. Dit is een automatisch gegenereerd bericht. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template_instance = ActionView::Base.new(Rails::Configuration.new.view_path) | |
template_instance.extend ApplicationController.master_helper_module | |
body = template_instance.render(:partial => 'messages/friend_invite', :locals => {:page => self, :inviter => @inviter, :invited => @invited}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment