Monthly Archives: January 2010

Use Rails’ form_tag with care

Today at work I was fiddling with some forms in an admin interface. When I had to make an update form, the data didn’t hit the correct controller action.

If you ever get the message ActionController::MethodNotAllowed, then you’ve created your form wrong!

Tagged , , | Comments Off

(php) Paginate component

After removing CakePHP from my site, I really missed having pagination on it. So I created a small PHP component I’ve called Paginate and I’ve released it over on github: http://github.com/jimmiw/php-paginate.

It’s designed to be easy to use (only 3 lines of code!), and the output should be easy to style.

I hope you enjoy it

Tagged , , , | Comments Off

You gotta design!

After seeing a tweet from @smashingmag about designing a small piece of graphics everyday, I and @janusclemmensen decided to try it out.

Here is my contribution for day11:
day11

Continue reading “You gotta design!” »
Tagged , , , | Comments Off