Amir M. Sahib

Categories

Archive for the ‘Programming’ Category

I’ve searched for a while and couldn’t figure this out until I actually picked up my book and browsed the source of examples. I’ll get straight to the code:
<% form_for :user, :url => users_path,:html => { :class => ’standard-form’ } do |f| -%>
That produces:
<form class=”standard-form” method=”post” action=”/users”>
As you can see I added a class [...]

12 May, 2009

300+ Free Programming Books

Posted by: Amir Sahib In: Programming| Web Development

Excellent resource.


About

Muslim by nature. Husband by wife. American by passport. Web Developer by profession. Economist by degree. Entrepreneur by brain.