Stripe Rails Comments?

how to stripe rails comments ?
I have searched google, but i could not get proper module.
Please
anyone help me how to do this ?

Regards
S.Vellingiri.

On Sep 24, 2009, at 3:08 AM, vellingiri wrote:

how to stripe rails comments ?
I have searched google, but i could not get proper module.
Please
anyone help me how to do this ?

Regards
S.Vellingiri.

Well, assuming that you meant to ask:
“How can I alternate the visual presentation of elements in a list?”

You can use the cycle() method:

.odd { background-color: #fff; } .even { background-color: #ccc; }

<% @comments.each do |comment| -%>

<%= comment %>
<% end -%>

Please ask a better question next time (and let us know that you at
least tried to search Google for it).

-Rob

Rob B. http://agileconsultingllc.com
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs