Link Details

Link 296679 thumbnail
User 410289 avatar

By CodeJustin
via smellsblue.blogspot.com
Published: Nov 21 2009 / 08:18

I created something at my job that has proven to be extremely useful that I think many people could benefit from. I like to call it Easy Partials, and the goal is to make using partials a bit easier (in case the name didn't make that glaringly obvious). The problem is that rendering a partial requires method calls when a little extra work will allow simpler and more readable partial invocation via convention. You are probably lost, so let me give you some examples. As it stands today, to render a partial you would do:
  • 7
  • 1
  • 1509
  • 317

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (1)