Guides

Page 14 of 16

Allow HTML String - Ruby on Rails

Just a quick post on how to prevent escaping for HTML within a string. Simply use html_safe?. i.e. The following will show the bold tags as text: <b>GOOOOOOOGLE</b>…

Read post

Access Log - PeopleSoft

I came across a requirement today where I needed to find out when a user had last logged into PeopleSoft. The record PSACCESSLOG came in handy here, it stores all of…

Read post

PaperClip Issues - Ruby on Rails

I finally decided to replace all my existing code to handle images with Paperclip. I was following the screencast by Emerson Lackey, #134 Paperclip, however I ran…

Read post

Connect to Database - PostGreSQL

This is just a quick post on how to connect to particular database via the console in PostGreSQL. First, make sure you’ve logged in – just swap my_app for your role…

Read post

Stop an Application - Heroku

Just a quick post on how to stop an app on Heroku: This will display a static page to all visitors but still allows for migrations etc: Image unavailable in the…

Read post

Start Rails Console - Ruby on Rails

Just a quick post on the command to start the rails console: Here’s the documentation, it provides a pretty good summary of all the commands you’re likely to need.

Read post