Skip to content

Category Archives: Rails

FCKeditor Plugin 0.4.3 Released

There is a new version of the Fckeditor plugin available. It is a very minor bug fix release to deal with the improper constantizing of model names as reported by a couple of people. Oh and I also checked it works with Rails 2. The demo is running on 2.0.2. The plugin is available from [...]

ImageScience and RubyInline Errors

If you have seen this sort of thing: ActionView::TemplateError: Expected image.rb to define Image or this: SystemExit (exit): /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.6.5/lib/inline.rb:70:in `exit’ /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.6.5/lib/inline.rb:70:in `rootdir’ /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.6.5/lib/inline.rb:84:in `directory’ /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.6.5/lib/inline.rb:258:in `so_name’ /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.6.5/lib/inline.rb:294:in `load_cache’ /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.6.5/lib/inline.rb:678:in `inline’ /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:84 in your log files when using ImageScience you may well of been a bit confused and frustrated – I was.

Kropper

I was looking for a neat way to crop images last night and had originally planned to use the excellent jsCropper library from Dave Spurr, which I have used on projects before. When, during a bit of googling about I came across Kropper from Jonathon Wolke. It takes a slightly different approach to Cropper with [...]

Yabb.com Finally In Beta

Its taken a long time (well about a year) and a lot of messing about with Skype, but the first site from the Cominded stable is open for invitations to join the beta. Yabb is a social utility based on conversation, “talk more, type less” being the motto. So go along and sign up, I [...]

Rails 2 and the iPhone

Ben Smith who I work with over at Cominded has put up a good article on getting your site to work with the iPhone. Definitely worth a read (as is much of his blog), now all I need to do is find a way to get one – I knew I shouldn’t of been tempted [...]

Typo 4.0.3 To Mephisto with Rails 2.0

I have just completed (well apart from moving any assets over) the switch from Typo to Mephisto. It was fairly painless. There was one :dependent declaration that needed fixing in the converter code and other than that pretty much everything I needed to know was in these two posts. How I converted Type to Mephisto [...]

Facebook Friend Invites

I have been messing around with Facebook apps recently and I found a couple of articles to be very helpful: Tutorial On Developing A Facebook Platform Application With Ruby on Rails Continuing Facebook Applications With Ruby on Rails Fist in your Facebook

DDOS Attack

Apologies to anyone who found this blog down over the last couple of days. For some reason I was subject to a DDOS attack!!! Wouldn’t really of thought of myself as a entertaining target really, but there you go…..

The Down Side To Programming Rails!

Or is that what all those tests are really for!!!! Check out some other great cartoons at xkcd.com

Acts As Paranoid – Has One With Deleted

Out of the box acts_as_paranoid comes with the ability to define a belongs_to relationship as including deleted records (although to get it to work you need to add require File.dirname(FILE) + ’/lib/caboose/acts/belongs_to_with_deleted_association’ to the init.rb file): class ModelA < ActiveRecord::Base belongs_to :model_b, :with_deleted => true end This works quite nicely for that ModelA, but what [...]