Do you know what pagination links are? They are at the bottom of web pages and allow you to scroll to a next page, and scroll back when you’re at some deep-linked page. In Rails development, you use something called Will Paginate. It has a default set of pagination links, and sometimes these just won’t do. It’s time to subclass WillPaginate::LinkRenderer.
Continue reading
Monthly Archives: February 2009
Back to your maker
Sometimes I wonder if there are any sane people left. This week, a fundamental Christian organization will deliver a leaflet disclaiming Darwin’s Theory of Evolution to all households in Netherlands. All of them!
Continue reading
Canonical URLs
There’s now an official way to denounce the ‘canonical’ URL of a website. Say that my website would listen to ‘spacebabies.nl’ as wel as ‘www.spacebabies.nl’, the new canonical link tag will tell Google which one is the ‘real’ one. Great for SEO purposes.
Are you POSH?
In my work on websites I strive to be POSH: Plain Old Semantic HTML. I have actually been POSH avant la lettre. Good to know there’s now an acronym for what I do!
Rails too much focused on technical details?
A new release of Ruby on Rails is imminent, and i am worried. I am worried the focus is too much on attaining nerdvana and not enough on actual productivity. Will Rails still be useful in six months?
Continue reading
Ruby 1.9 is here
It seems that Ruby 1.9 is finally here (thanks Lenmeister). The latest version of my current favorite scripting language promises speed above all and decent character encoding in strings. Yay! Even Ruby on Rails will work on 1.9.1, sorta, but you need to tweak stuff. That said, I can’t wait to move my apps over to Ruby 1.9.
Nested models now really in Rails
I have blogged about this before, but the feature was pulled from Rails because it wasn’t complete. Now it’s finally in: support nested models in forms. Now there’s a built-in way to have two or more models in one form. Sweet.