-
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
Category Archives: Ruby
Ignore files and folders via TortoiseSVN
Why ignore? Ignoring a file or folder from the Subversion system can reduce a lot of complexity from the repository. For example, if you edit your code via NetBeans, you probably don’t want to version control the .nbproject folder it … Continue reading
Posted in Ruby
Comments Off on Ignore files and folders via TortoiseSVN
Gathering SQL data with TempObject
Another place I use TempObject is to organise the data created from a custom SQL statement. I use custom SQL statements when I need to gather data from three or more tables or do complicated JOIN or CASE statements. It … Continue reading
Posted in Ruby
Comments Off on Gathering SQL data with TempObject
Using TempObject with a search form
Here is how I use TempObject with a search form. I’ll use an example of creating a form to return balls. In the controller I first create a TempObject with the attributes I want to offer in the search form: … Continue reading
Posted in Ruby
Comments Off on Using TempObject with a search form
Temp Object
I found creating search forms in Rails a little awkward because most of the built in Rails form elements expect to work with attributes of an object, whereas for a search form I just needed to pass a set of … Continue reading
Posted in Ruby
Comments Off on Temp Object
Using a shared location for common code
I am a book lover, and have built up a lot of my Ruby and Rails knowledge from an ever expanding collection of books. No matter how big or small, most give me some new information or way of dealing … Continue reading
Posted in Ruby
Comments Off on Using a shared location for common code