Created
June 3, 2011 18:44
-
-
Save joesavak/1006914 to your computer and use it in GitHub Desktop.
renderupdateliscript
This file contains 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
postcomment = "blah blah must be < 140. Oh and # are probably a good idea to use in here". | |
liscript = liscript +%&postToLinkedIn("&+postcomment+%&");& | |
render :update do |page| | |
if !liscript.blank? | |
page << liscript | |
end | |
#other page updates here | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment