05 May '12, 1am

Railscasts - Calendars:

<div id="calendar"> <h2 id="month"> <%= link_to "<", :month => (@date.beginning_of_month-1).strftime("%Y-%m") %> <%=h @date.strftime("%B %Y") %> <%= link_to ">", :month => (@date.end_of_month+1).strftime("%Y-%m") %> </h2> <% calendar_for @articles, :year => @date.year, :month => @date.month do |calendar| %> <%= calendar.head('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday') %> <% calendar.day(:day_method => :published_on) do |date, articles| %> <%= date.day %> <ul> <% for article in articles %> <li><%= link_to h(article.name), article %></li> <% end %> </ul> <% end %> <% end %> </div>

Full article: http://railscasts.com/episodes/213-calendars

Tweets

Watching The Logger on RailsCasts via @railscasts

railscasts.com 05 May '12, 12pm

Learn all about the logger in this episode. See how to send messages to the log and how to customize it.

Samsung Galaxy S III Launch: Mark Your Calendar...

soyacincau.com 02 May '12, 12pm

, the Galaxy S III won’t be a game changer but it’s not what we know about the device that’s making us curious, it’s the m...

Watching Rubber and Amazon EC2 on RailsCasts vi...

railscasts.com 04 May '12, 6am

Deploying to Amazon EC2 allows you to scale an application quickly. Learn how to use Rubber to deploy to the cloud with ju...

Watching Jbuilder on RailsCasts via @railscasts

railscasts.com 06 May '12, 10am

Jbuilder provides a DSL for generating JSON. It includes a template engine which allows you to create complex responses wi...

#217 Multistep Forms - RailsCasts:

railscasts.com 05 May '12, 2pm

A good multistep form remembers the input between steps, allowing users to go backwards and forwards through the pages wit...

#Rails users, have you considered #Postgres? @R...

railscasts.com 04 May '12, 9pm

terminal psql --version brew install postgresql initdb /usr/local/var/postgres pg_ctl -D /usr/local/var/postgres -l /usr/l...

Loving the recent batch of Railscasts Pro episo...

railscasts.com 04 May '12, 6pm

I've done all these things in the past year so I'll pitch in. The best part of using ec2's is you can get your servers to ...