Cerberus Continuous Integration for Rails
Posted by tom August 27th, 2006
Continuous Integration (CI) is a way of automating your tests when you check sourcecode into your sourcecode management system (like Subversion). Every check-in will result in all tests being run, after which developers are informed of the outcome of the build/tests. Martin Fowler wrote a nice article on continious integration.
Cerberus is a Ruby based CI system which can also be used with Ruby on Rails. What follows is a little how-to on Cerberus.
UPDATE: Ofcourse it’s Continuous Integration, but me changing the SLUG of this article doesn’t seem like a good plan …
Read the rest of this entryRuby on Rails and console/GUI applications
Posted by tom August 23rd, 2006
Some of you who read this blog more often will know that besides web development I’m also very interested in how I can create GUI and/or console applications using Ruby and/or Ruby on Rails.
If you want to talk from a console/GUI application with your Ruby on Rails web application you currently have only one option (as far as I’m aware of): use XMLRPC or SOAP to talk to your Rails Application. To me, this also means that if you want to instantiate a model you have to create a small wrapper class which will use XMLRPC/SOAP to talk to your Rails application.
Read the rest of this entryacts_as_taggable
Posted by tom August 19th, 2006
Acts as taggable is a simple (but powerful) plugin for your ruby on rails applications to make it support tagging. Once you’ve installed it (in my case as a gem – with sudo gem install acts_as_taggable), you’re good to go. What follows is not a tutorial, but more a quick overview what I did to get it to work.
Read the rest of this entryLeopard is leaking
Posted by tom August 16th, 2006
Well I would have been surprised if it didn’t. However reading peoples reactions to that is always funny, there is a comment on a post from webwereld from somebody who mentions he’s happy he uses Windows. Just for this reason? It’s not as if Leopard has been hacked or that it has a failure kind of leak. I guess it’s just very very hard to read an article (even if it’s just 15 lines of short text)!
RMagick darwin ports and crop_resized
Posted by tom August 13th, 2006
Tonight I was having problems with crop_resized:
test.rb:7: undefined method `crop_resized' for test.jpg JPEG 1000x500 1000x500+0+0 DirectClass 8-bit 336kb:Magick::Image (NoMethodError)
It proved that rb-rmagick (a darwin/mac port) did not support this, so I uninstalled it and installed RMagick as a gem, now it works!
Ruby Web Dialogs and beyond
Posted by tom August 7th, 2006
Tonight I’ve experimented a little with Ruby Web Dialogs. I really, really like the concept, except for the fact that if people see a webbrowser they know they’re looking at a web application.
Read the rest of this entrydrkROOM progress
Posted by tom August 6th, 2006
There is some progress on drkRoom, I’d like to report. I also added a screenshot.
Read the rest of this entryRuby Rich Clients
Posted by tom August 6th, 2006
While there has been some talk on Ruby (on Rails) and Rich clients, it seems as if not a whole lot is going on in the Ruby world in relation to Rich Clients. My previous post touched upon the subject, but here follows a more in -depth view.
Read the rest of this entryRuby on Rails and non web programming
Posted by tom August 6th, 2006
Tonight I did a lot of reading on non-web programming and it sort of surprised my to “hear” other people stating that that’s impossible with Ruby on Rails. They are right wrong.
Apple Glyphs
Posted by tom August 5th, 2006
Always handy to know: the Apple Glyphs & their entities (if you want to use them in your HTML).
| Glyph | Key Name | Entity |
|---|---|---|
| ⌃ | Control | ⌃ |
| ⌥ | Option | ⌥ |
| ⌘ | Command | ⌘ |
| ⇧ | Shift | ⇧ |
| ⎋ | Escape | ⎋ |
| ⌅ | Enter | ⌅ |
| ↩ | Return | ↩ |
| ⌦ | Forward-delete | ⌦ |
| ⌫ | Backward-delete | ⌫ |
| ﹖⃝ | Help | ﹖⃝ |
| ↖ | Home | ↖ |
| ↘ | End | ↘ |
| ⇞ | Page-Up | ⇞ |
| ⇟ | Page-Down | ⇟ |
| ⇥ | Tab | ⇥ |
| ⇤ | Back-Tab | ⇤ |
UPDATE: Shift was the wrong code: The correct code is ⇧
