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
Batch to map drive for users at logon per users needs.
use heirarchical relation for analytical reporting
How do I create a user with DBA permissions in DB2 similar to in Oracle - create user user1 identified by user1;grant dba to user1;grant connect to user1;
Cannot get vista x64 to print to tray 2 on an hp 2800
mysql dropdown search...
shell scripting help
Need simple WAN sollution to connect two small serverless networks.
Error message when system shuts down
Need help with a time value format issue.
VPN cannot be established outbound from workstations on our SBS 2003 network - Error 800. VPN outbound from our SBS Server is successful.