-
Archives
- November 2019
- February 2018
- April 2017
- October 2015
- July 2015
- May 2015
- January 2015
- August 2014
- November 2013
- September 2013
- August 2013
- July 2013
- June 2013
- March 2013
- February 2013
- November 2012
- October 2012
- August 2012
- July 2012
- November 2011
- September 2011
- August 2011
- May 2011
- January 2011
- October 2010
- May 2010
- April 2010
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
-
Meta
Monthly Archives: June 2009
Deleting Session and Cookie entries
I’ve had a problem with clearing a users session and cookie information if they failed log on. In the past I’ve simply used: def clear_session session[:user_id] = “” session[:user_hash] = “” cookies[:user_hash] = “” end But this often fails to … Continue reading
Posted in Ruby
Comments Off on Deleting Session and Cookie entries
MS SQL server connection
I noted the couple of steps I need to connect to a Microsoft SQL server in my Rails Tiddly Wiki under “MicrosoftSQL”. I’ve need to fire up a Rails development system on another PC and have found that the gems … Continue reading
Posted in Ruby
Comments Off on MS SQL server connection
action_name_is?
I love it when a very small bit of code makes my life easier and my code simpler. Today I’ve defined a new helper method for one of my application and its done just that. This is the code def … Continue reading
Posted in Ruby
Comments Off on action_name_is?