Archive for November, 2007

links for 2007-11-17

Saturday, November 17th, 2007

Testing ActiveResource
(tags: Rails Testing activeresource)

links for 2007-11-16

Friday, November 16th, 2007

Ruby One Liners
snippets from Dave Thomas
(tags: Ruby Reference Programming List Productivity tips Cool)

links for 2007-11-14

Wednesday, November 14th, 2007

favikon
Quickly create a favicon from any image. Great online tool.
(tags: webdesign graphics tools)

links for 2007-11-13

Tuesday, November 13th, 2007

Scripteka :: Prototype extensions library
(tags: prototype scriptaculous gallery Javascript)

links for 2007-11-08

Thursday, November 8th, 2007

How to Win at Monopoly ® - a Surefire Strategy
(tags: Cool Economics tips Monopoly)

links for 2007-11-03

Saturday, November 3rd, 2007

err.the_blog.find_by_title(’Be Dee Dee and Me’)
A good intro to Behavior Driven Development. I need to read this soon.
(tags: Programming Rails RubyOnRails Reference Testing toRead Tutorial)

Sending SMS messages from your Rails application — Luke Redpath
(tags: RubyOnRails Rails Programming SMS)

Rails on the Run - Ajax Pagination in less than 5 minutes
(tags: Ajax Rails RubyOnRails pagination)

Destroying An Object After Touching Its Relatives

Friday, November 2nd, 2007

Just a little thought I thought I should be sure to share, as it’s something I wasn’t aware of until this morning.
If you load an object in Rails and load any of it’s relatives through acts_as_tree, and then destroy the object, it will take the relatives with it.

@person = Person.find :first

@person.children.each do |child|
[…]