CourseAdvisor, one of the net's largest Rails installations, has been using Ruby on Rails since November of 2005, before version 1.0 was released.


We hope that the pieces of code you find on this page will add to the community from which we have gained so much.


CourseAdvisor Plugins

→ 'fresh_cookies'

A gem that transparently modifies the behavior of cookies in rails. By default, the value set in a cookie cannot be accessed until the next request, such that a call to the following method returns false:

def cookie_set
  cookies['foo'] = 'bar'
  return cookies['foo'] == 'bar'
end
Fresh_cookies changes cookies to behave intuitively, allowing a cookie to be set in one controller and immediately be accessed in another.