Archive for the ‘RoR’ Category

ConnectTeach site

Thursday, June 18th, 2009 Posted in *, RoR | No Comments »

Rails on Jaguarpc

Saturday, February 21st, 2009 Posted in *, RoR | No Comments »

Setting up the redirects to point to the mongrel instance

Rails documentation

Monday, March 12th, 2007 Posted in *, RoR | No Comments »

[code] gem_server [/code] Then go to localhost:8808

Test Driven Development

Thursday, January 4th, 2007 Posted in *, RoR | No Comments »

Notes for intro to TDD demonstration for Ncl Rug

Blog bundle behind a proxy

Wednesday, January 3rd, 2007 Posted in *, RoR | No Comments »

In textmate preferences create the shell variable TM_HTTP_PROXY wwwcache.ncl.ac.uk:8080 Note that there must be no http:// at the beginning

Views

Sunday, December 31st, 2006 Posted in *, RoR | No Comments »

Different places views are stored...

Photo site creation

Thursday, December 28th, 2006 Posted in *, RoR | 1 Comment »

Photo site creation...

Mail from macOSX

Wednesday, December 27th, 2006 Posted in *, RoR | No Comments »

Things I have changed so far. Works at this point, but headers on delivered messages need cleaning up. [code] sudo launchctl start org.postfix.master [/code] Think this just tells it to start on bootup. Did this to get it going : [code]sudo ...

Rails Observers

Tuesday, December 26th, 2006 Posted in *, RoR | No Comments »

Classes that monitor the lifecycle of ActiveRecord objects and run callback methods:

Useful rails plugin: file_column

Sunday, December 24th, 2006 Posted in *, Plugins, RoR | No Comments »

file_column Does file upload.

Useful Rails plugin: acts_as_authenticated

Sunday, December 24th, 2006 Posted in *, Plugins, RoR | No Comments »

acts_as_authenticated

Local gem documentation

Friday, December 22nd, 2006 Posted in *, RoR | No Comments »

run gem_server then point your web browser at localhost:8808

Gems and plugins

Friday, December 22nd, 2006 Posted in *, Gems, Plugins | No Comments »

Currently using several different extensions in my rails projects. These seem to work in 3 different ways:

Gem install as plugin

Friday, December 22nd, 2006 Posted in *, Gems, Plugins | No Comments »

Haven't tried this yet.... From Ruby on rails e-commerce pg 199: Change current directory to the vendor/plugin directory of your project and run gem unpack acts_as_taggable. Then create a file containing the line require 'taggable' called init.rb in the acts_as_taggable folder. I ...

Rails Tests

Wednesday, December 20th, 2006 Posted in *, RoR | No Comments »

There are 3 types, unit, functional and integration....

Rails assigns helper

Wednesday, December 20th, 2006 Posted in *, RoR | No Comments »

Very hard to find documentation on this. RoR E-Commerce pg 51 says: Assigns is a test helper method that can be used to access all the instance variables set in the last requested action. Makes a lot more sense if I ...

Rubygems when you are behind a proxy

Tuesday, December 12th, 2006 Posted in *, Gems | No Comments »

Set HTTP_PROXY [code] HTTP_PROXY=wwwcache.ncl.ac.uk:8080 export HTTP_PROXY [/code]

Rubygems when you aren’t root

Tuesday, December 12th, 2006 Posted in *, Gems | No Comments »

This gives the procedure

Database Access optimization with ActiveRecord find

Sunday, December 10th, 2006 Posted in *, Computing, RoR | No Comments »

add the include parameter....

File Upload in Rails

Sunday, December 10th, 2006 Posted in *, Computing, RoR | No Comments »

The file_column plugin is an easy way to add file uploading.