Installing Ruby Gems on Windows

So I heard about a new Ruby gem that we might be using for our project. My work computer is still windows and while I feel like fred flintstone on it, I'm still relatively productive. So I open up my console to install the gem: Whoops - issue. Wai...

Ruby on Rails pt 2

So yesterday, I finished by getting a basic product catalog setup in rails (example from the book "Agile Web Development with Rails". I couldn't recommend this book enough for starting out. Validation Any data validation occurs in the model compon...

Audit trails

Product after product, the question eventually comes from the customer - "How can I see who made what change and when they made them"? The easiest way to implement audit trails is triggers on the database tables - recording the edit user and edit ...

HTTPS 2-minute timeout?

I have a process that includes running complex server-side processing while a loading screen (or other screen) is displayed to the client. In a regular (HTTP) environment, this process can run several minutes with no timeouts. In an https environm...

No FTP site? No problem

Requirement: Build a script to pull a file stored online. Real life example: The data provider is happy to update the file published online but won't setup an FTP account for you to grab the file. Solution: Quick and easy using perl LWP (see http:...

Finding out what you don’t know

Requirement: In Oracle, display the first row of data from a table with each data element separated by a delimiter.. The column names & number of columns in the table cannot be hardcoded as they are likely to change over time. Real-life example: U...

Blog at WordPress.com.

Up ↑