Monday, August 24, 2009

Syntax to ignore schema.rb file in Subversion

svn propset svn:ignore "schema.rb" db

Monday, August 17, 2009

Scriptaculous Rails - Complex Forms Railscasts IE fix

$($(this).parentNode).remove() works on both FF and IE.

Thursday, August 13, 2009

How to prevent the active_record output in rails console

end the statements with ; nil

Eg: list = Blog.find(:all)
list.each do |x|
puts x.title
end ; nil