Microsoft
Software
Hardware
Network
Question : Doing a date loop in rails with step
Hi, apologies for a newbie question...
I'm trying to loop through 2 dates ...
so ..
<% start_date.until(end_date)
do |dates| %>
<%= dates %>
<% end -%>
It prints out each date till the end_date which is fine but I'd like to do the following with the loop.
<%= link_to 'Details for ' + @month.to_s + '/' + @year.to_s , :action=>'details', :year=>@year, :month=>@month %>
Can someone direct me the right way.
Thank you.
Answer : Doing a date loop in rails with step
My CSS is pitiful. Can you use a span instead of a div? Maybe it being a block level element has something to do with that?
Random Solutions
Using "find" with "rm to delete files
Pad imported text with trailing zeros
Iptables firewall script - 500pts
Online Advertising Revenue Statistics for Facebook
Search Engine Optimization Software
SQL select query syntax, attempting to pass a integer variable from vb.net to a sql string select command
Report Server: Cannot connect to the configuration database (KB 823287)
loading the contents of text file into database
Workstation Audit Software
Add User Name and Password Credentials programatically