Git commands

Git commands (will be updated to add more later) git status -- show me everything that has changed on my local machine (what did i modify, add, delete) git add . -- for my local versioning repository, add all the files that I have created git comm...

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:...

Blog at WordPress.com.

Up ↑