Posts Tagged ‘Ruby on Rails’
Posted: 8th September 2008
Tags: PayPal, Ruby on Rails
Posted in Ruby on Rails
Comments: 13 Comments »
I recently needed to setup recurring payments through PayPal’s express checkout for a subscription based site I have writen using Ruby on Rails. There is already an excellent framework for interacting with most payment gateways, including PayPal, for Ruby called Active Merchant. Unfortunately recurring payments support in Active Merchant for PayPal Express Checkout is limited to a script pasted into their lighthous bug tracking system. The trouble is that this script only covers creating subscription profiles and also later getting details of that profile, but I needed to be able to suspend and cancel subscriptions profiles as well as make changes to the subscription from my site.
Read the rest of this article »
Posted: 7th September 2008
Tags: Django, Flex and Air, Ruby on Rails
Posted in Misc..
Comments: 2 Comments »
Firstly an apology about the lack of post lately. Like most of us I have been extreamly busy and have not had much time to post but I will be writing some new articles shortly. I have a fair bit to post about, mostly flex but also some new posts on Ruby on Rails and some new topics such as Python’s excellent Django framework which has recently reached it’s 1.0 release milestone.
Also I have migrated my blog over from a shared Windows host to a Linux VPS machine which should allow me to use some of Wordpress’ better plugins such as WP-SuperCache
Posted: 19th October 2007
Tags: Flex and Air, RIAs, Ruby on Rails
Posted in Flex and Air
Comments: 2 Comments »
Following my previous article I discovered Chatopica an excellent chat widget, you can integrate directly into your blog. Current topics are related to programming and design but custom topics are coming soon.
Chatopica is created by Tom Bray and Robert Cadena of SearchCoders, Tom being the presenter of the excellent eSeminar on an Easy MVC approach to developing flex apps, I blogged about.
Read the rest of this article »
Posted: 17th October 2007
Tags: apple, OS X, Ruby on Rails
Posted in Misc.., Ruby on Rails
Comments: No Comments »
For all you Apple Mac fans out there, Mac OS X 10.5\’92s release has been announced for the 26th October 2007 (As promised).
I have already pre-ordered my copy and looking forward to the 300 new features.
In particular:
Ruby on Rails - “Work in a developer’s dreamland. Leopard is the perfect platform for Ruby on Rails development, with Rails, Mongrel, and Capistrano built in”
For more information, scoot over to Apple’s Website
Posted: 10th October 2007
Tags: mephisto, Ruby on Rails, tutorial, UI Design, Web Design
Posted in Ruby on Rails
Comments: 12 Comments »
Mephisto is an excellent blogging platform written in Ruby on Rails by Rick Olsen and Justin Palmer both of whom are behind the excellent Lighthouse Issue Tracking Software . This article / tutorial takes you step by step through the process of creating a custom theme / templates.
To an extent I am going to assume you are already familiar with Ruby and the Rails Web Development Framework, but where possible I hope to keep things as simple as possible.
First of all one of the best ways to go about learning how to create a custom template / theme is to download one of the existing themes you like from the Mephisto Themes Gallery and look inside the .zip file and see how these template authors have gone about implementing their themes.
Read the rest of this article »
Posted: 7th October 2007
Tags: Ruby on Rails, tips
Posted in Ruby on Rails
Comments: 5 Comments »
I thought I would post a very quick tip on how to execute a command line / shell command with Ruby. There are several ways to run command lines / shell commands in Ruby as discussed by Jay Fields however by far the most useful of these is the %x command, as follows:
And what is important and not mentioned by Jay is the fact that you can pass parameters into %x[] as follows:
Posted: 6th September 2007
Tags: AJAX, Javascript, Ruby on Rails, UI Design, Web Design
Posted in Javascript
Comments: 3 Comments »
Following my article earlier today on Live Validation, I have had a response from Alec regarding how to create a custom validator to use with his Live Validation framework.
Having asked if a custom Validator could be passed in the .Now() function Alec had the following to say:
In regards to passing a custom validation method into the .now method, it will not \’91create\’92 the validation method as such, but will accept one you have made, as long as your custom validation method takes a value as the first argument, and throws a Validate.Error exception when it fails (in order to pass on the failure message made easier by using Validate.fail), and true if it passes. For example:
Alec clarified: “…if you take a look at some of the included validation methods they contain calls to some of the other ones internally, as they will throw exceptions and halt proceedings if they fail, so act in much the same way as the simple one we have above. Validate.Email is a simple example of this and can be easily adapted to make a reusable postcode format validation for instance.”
Following Alec’s example above, you can easily then use the validator using the following:
Using a custom validator opens up many possibilities such as making an AJAX call to the server to check the uniqueness of a username or password.
For more information:
Documentation for Validate.now()
Posted: 6th September 2007
Tags: Javascript, php, Ruby on Rails, UI Design, Web Design, web development
Posted in Javascript, Ruby on Rails, Usability
Comments: 1 Comment »
I came across a great new validation library the other day which I wanted to share with you all. Live Validation by Alec Hill is a cross-platform client-side JavaScript validation framework which provides real-time feedback to the user as they type.
Read the rest of this article »

![[image]](http://mowser.com/img?url=http%3A%2F%2Fclockobj.co.uk%2Fwp-content%2Fthemes%2Fcwo2%2Fimages%2Frss_large.png)
![[image]](http://mowser.com/img?url=http%3A%2F%2Fclockobj.co.uk%2Fwp-content%2Fthemes%2Fcwo2%2Fimages%2Fcwo-title.png)



![[image]](http://mowser.com/img?url=http%3A%2F%2Fclockobj.co.uk%2Fwp-content%2Fuploads%2F2008%2F09%2Ftwitter.png)



