Music 2008
The albums I was the most into in 2008 that may or may not have come out in 2008.
- Bonnie Prince Billie - Lie Down In The Light
- Frightened Rabbits - The Midnight Organ Fight
- Fleet Foxes - Fleet Foxes
- Bob Dylan - Tell Tale Signs <– Red River Shore, best song ever
- Guided By Voices - Alien Lanes
- Pavement - Brighten The Corners
Last.FM Top artists:
- Brian Eno
- Guided By Voices
- Bob Dylan
- Pavement
- Phish (sic)
Django…Does it have legs?
As a programmer that came to Ruby via Rails I find myself confused and intrigued by python. I wasn’t instantly sold on ruby’s syntax but I find it much much better than Python. That could also be because ruby was the catalyst for a shift to open-source, unix, gnu technologies, perhaps everything after that will be viewed as a fake ruby. But django is intriuiging. Who is using it? what are the big sites on Django?
Am I Going As The Joker For Halloween?
Rails Boilerplate script updated to include shoulda instead of rspec
I’ve been getting more into using shoulda for BDD rather than rspec. I updated the rails boilerplate shell script to install should rather than rspec. You can still uncomment the rspec stuff if you want it.
http://github.com/npverni/rails-boilerplate-script/tree/master
Django hits 1.0
The Django framework has just released version 1.0 after 3 years of measured growth and enhancements. Congrats to the Django/Python community.
Boilerplate Rails Script for restful-authentication, jQuery/jRails, rspec
Here’s a quick script that I use to get a boilerplate Rails application setup.
Note: the touch commands won’t work on windows
Update: Check it out at github http://github.com/npverni/rails-boilerplate-script/
#restful-authentication
./script/plugin install git://github.com/technoweenie/restful-authentication.git
./script/generate authenticated user sessions
#jRails
./script/plugin install git://github.com/aaronchi/jrails.git
#rspec
cd vendor/plugins
git clone git://github.com/dchelimsky/rspec.git
git clone git://github.com/dchelimsky/rspec-rails.git
cd rspec
git checkout 1.1.4
cd ../rspec-rails
git checkout 1.1.4
cd ..
rm -rf rspec/.git
rm -rf rspec-rails/.git
cd ../../
#create the databases
rake db:create:all
rake db:migrate
#remove the index.html, create a default home controller, create placeholder application.html.erb layout and stylesheets
mv public/index.html public/info.html
script/generate controller home index
touch app/views/layouts/application.html.erb
touch public/stylesheets/screen.css
touch public/stylesheets/reset.css
Finally, add this to your routes:
map.root :controller => "home"