Archive for the 'Rails' category
Thursday, June 12th, 2008
About a week ago Mislav Marohnic wrote about a simple CSRF attack on Working with Rails.
What Mislav exploited was the fact that Working With Rails didn’t require a POST request to create recommendations, so just by visiting his blog you’d inadvertadly recommend him (if you were logged into WWR).
In less than 24 hours Mislav got […]
Rails |
Tuesday, April 15th, 2008
Mod rails is certainly a step in the right direction - but I think a much better idea would be to implement support for Rack.
Rack is an abstraction between Webservers and Ruby web frameworks. Thin, for example, uses this to great effect - by using Rack, Thin automatically supports tons of Ruby web frameworks […]
Ruby, Rails |
Wednesday, October 3rd, 2007
I’ve updated Mq.
There was a major bug, where messages were picked up more than once which is now sorted.
Also, you can automatically create more pollers per queue, like so:
Mq.run_all(5) # which would run 5 pollers per queue forked with Daemonize
Get it here
Ruby, SQS, Rails |
Tuesday, October 2nd, 2007
SQS, in case you’ve been living under a digital rock, is a ultra useful simple queue service from Amazon.
As far as I know, Ruby/Rails has only two major libs for interfacing with SQS. ActiveMessaging and SQS.
I wasn’t satisfied with either since using ActiveMessaging with SQS seems rather overkill (chain saw to a bunny rabbit) […]
Ruby, SQS, AWS, Rails |
Saturday, September 15th, 2007
I’ve been playing around with RESTfull procedures, trying to get a link (or something that looks like one) to use the same method and url, regardless of whether JavaScript is enabled or not.
Rails has the link_to_remote, which accepts a ‘method’ option. This is all fine and dandy if you have JavaScript enabled, but, as soon […]
Active Resource (REST), Rails |
Friday, August 10th, 2007
These last few weeks I’ve been sailing around the cornish coast and eating lots of cream teas and pasties! I’ll be back on the 25th of August, but until then, I’ve created a plugin for Rails called RestResponses:
Install: ruby script/plugin install http://rest-responses.googlecode.com/svn/trunk/rest_responses
RestResponses is a couple of useful little methods to clear up your restfull controllers, […]
Active Resource (REST), Rails |
Friday, July 6th, 2007
Just found this site, by accident, on Ext and Rails (doesn’t appear in Google searches for some reason - probably because it’s new).
extonrails.com provides example Rails applications and Chris Scott has also created extensions to Ext which are ‘used as an impedance-matcher between Ext and Ruby’. It’s great to see this area gaining some traction, […]
Ext, Rails |
Monday, June 25th, 2007
Google have released a new project called TrimJunction; their vision:
In a nutshell: mindlessly copy and port Rails, because it’s a great web MVC framework. The result should be a web MVC framework that runs in either the client AND the server. While we’re at it, explore and push the edges of occasionally connected web applications. […]
Rails |
Sunday, May 20th, 2007
Well, I’ve been developing this plugin for a while now, and here it is! The use case I have for this is client side Rails applications that sometimes need to be offline.
The plugin allows one ‘master’ db to sync with unlimited ’slave’ databases. Records created/updated/deleted on the client will also be updated on the slave […]
acts-as-syncable, Rails |
Sunday, May 6th, 2007
If you’ve been reading this blog you’ll know I’m exciting about client side Rails applications, and the opportunities that offers. So, in order to distribute a Rails application you need to bundle it in in an exe, since the end-user doesn’t necessarily have Ruby/Rails installed.
One method is detailed here. I’ve been playing around with it […]
Rails |