#programming
7 posts tagged programming. Clear filter
-
using screen
Use screen when you want to manage multiple sessions in a terminal. Install it on Ubuntu sudo apt-get install screen There are a lot of options for screen. I won't go into them. I use screen most...
-
git checkout -- file-in-question.oh-my
Problem: using git and one file, like your db/schema.rb, is out of whack with the latest branch. If you run git pull and you get a failed merge and no update. You can of course, edit the conflicts...
-
rails fixtures: using the right timestamp
Fixtures in Rails allow you to quickly and easily populate a database with sample data. They are great when testing your app and you need to test against a condition that will rely on a certain...
-
the simple things with git
Git can track the file permissions on your source. This can be good, but for small projects on a webserver where permissions change from time to time, and permissions on development app don't match...
-
upgrading to latest phusion passenger 2.1.2
super easy will walk you through the install and remember to copy paths to your apache config file. for passenger i kept it in mods-available/passenger.conf and then linked it to mods-enabled then...
-
mysql on rails 2.3.2
mysql driver is no longer bundled w/ rails. you'll need to install it yourself w/ however, on ubuntu (heron) this won't work. issue these commands first if libmysqlclient-dev fails... try...
-
using rails paperclip plugin on ubuntu
paperclip is an awesome plugin for rails. it let's you attach an image to any of your models. installation and usage more information is available at...