I recently made the switch to mac. I just love working with it. But I’m experiencing some downsides to it. This is probably due to lack of knowledge about Mac. Like most of you know, I’m in the web development business. So I need PHP and Ruby on Rails. I was happy to notice that … Continue reading Mac, though love
I got some nice emails concerning my restful search and the Object-oriented approach to ActiveRecord posts. But a few of those mails had another thing in common. Some users find all the finder classes in the helper folder overwhelming, and they don’t like having them in the same folder as their view helpers. Well, the … Continue reading Create sub folders in your Rails application
During the development of my new project, I read a lot on the REST subject. In my opinion, it is a nice way of keeping your application clean and maintainable. But I stumbled upon a small problem when I had to implement a search for my resources. In all the examples you find on the … Continue reading RESTful search
Yesterday, I had to add some extra actions in my controllers, so I could view some charts. The problem was that Rails didn’t recognise the actions, because Rails sees you action name as an id. But Rails wouldn’t be Rails if it didn’t had a clever solution. Lets say you have a a resource called … Continue reading REST design with extra actions
One of my colleges (the main programmer for the company I work for) has created a nice post on creating dynamic search criteria in an object-oriented way using Rails ActiveRecord. You can find his post here. At first, I was a little out of balance, becouse I couldn’t realy see the advantage of it. But … Continue reading Object-oriented approach to ActiveRecord
Since I bought a new computer last weekend, I still had a few Windows Updates to download and install. But for some reason, none of them where able to install. After some googling I found out that the problem could be with my dll’s and that I had to re-register them in in registry. So … Continue reading Windows Update breakdown
As I was working on my new project, I was in need of a some breadcrumbs to implement on my site. Since I hate doing the same task over and over again, I looked for a ready to deploy plugin. After some googling, I quickly realised that a standard way of creating breadcrumbs is virtually … Continue reading Rails breadcrumbs
It has been a while since I posted something new. But I have a few articles in mind that I will post soon. The first one is something that I discovered a few days ago. The fantastic toolkit Google Gears that enables webapplications to work offline has met RoR. 2 students, Michael Marcus and Rui … Continue reading Google Gears meets Ruby on Rails
Jej, it is finally here. Firefox 3 is out. I was waiting a long time for this release. I didn’t use the beta or RC versions, so it was a bit hard to wait. But it was worth it. One of the main things I couldn’t wait for was the fact that FF 3 would … Continue reading Firefox 3 out now!
For some of you that don’t know this yet (don’t be ashamed of yourself, I only heard about it a a few months back), Rails 2 recommends a new file extension for your template file. At this point, everyone was using template extensions like: .rhtml .rxml .rjs To unify the template files, the Rails developers … Continue reading Rails new template file extensions