Web Development

Page 21 of 26

How to Reset ID of an Element - jQuery

Hey All, Just a quick post on how to set the ID of an element (in this case a div) with jQuery. I needed to use this to dynamically clone elements. The script above…

Read post

Blocking Duplicate Payment - Paypal

Hey everyone, Just a quick post on how to block duplicate payments with PayPal. All you have to do is pass an invoice parameter and then select the ‘block multiple…

Read post

Uploadify - Limit to One Upload Only

Hey everyone, Just a quick post detailing how to limit uploadify to a single file. Simply add the following settings to your uploadify initialisation: multi: false…

Read post

Recreate Database - Ruby on Rails

Hey everyone, Due to an issue with a few migrations in a dev environment I needed to recreate the database. A quick Google search revealed that it is possible to do…

Read post

Setup RVM on Ubuntu - Ruby on Rails

Hey everyone, I’ve just done a fresh install of RVM using the guide below. There were a few dependencies missing, but other than that it all went pretty smoothly.…

Read post

Heroku Timezones - Ruby on Rails

Hey everyone, Just a quick post on how to adjust the timezone on Heroku, comes in handy when using the log files. There is a fairly detailed StackOverflow post at the…

Read post

Rails Casts #142 Paypal Notifications

Hey all, I ran into a bit of an issue in Rails Cast #142. I received the following error while testing the IPN: Simply replace the following line with the alternative…

Read post