Latest Posts:
Begin Ruby on Rails posted on 14 May 2012 14:38
See Begin Ruby on Rails Here . I compiled links to start learning Ruby and Rails when a friend asked me where to look. So here is a good set of links to start learning Ruby on Rails. (read more…)
Comments: 0, Rating: 0
Installing GOSU - The game engine for Ruby posted on 24 Mar 2012 22:09
Even the kids can write games however, you need those libraries on your Ubuntu. After that you can enjoy Ruby4Kids and follow installation instructions for Gosu:
sudo apt-get install mesa-common-dev libopenal-dev libvorbis-dev libsndfile1-dev libfreeimage-dev libsdl1.2-dev libsdl-ttf2.0-dev freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libopengl-ruby1.9.1
Comments: 4, Rating: 0
Start your HTML5 Graphics Applications posted on 17 Feb 2012 14:05
Processing.js is the sister project of the popular Processing visual programming language, designed for the web. Processing.js makes your data visualizations, digital art, interactive animations, educational graphs, video games, etc. work using web standards and without any plug-ins. (read more…)
Comments: 4, Rating: 0
Ruby on Rails Weblog posted on 04 Feb 2012 04:34
Ruby on Rails Weblog is nice collection of pages about Ruby. You walk the pages without leaving the trail. (read more…)
Comments: 3, Rating: 0
Tagging & Ruby on Rails posted on 07 Jun 2011 15:17
Just read Tagging Tutorial and get ready for blazing fast and easy tagging on your objects. All thanks to Soveran/ Ohm: The library that maps ruby objects to Redis . (read more…)
Comments: 82, Rating: 1
Rails: Search Comments Only posted on 04 Jun 2011 12:51
You can only inside the comments of your ruby files:
rake notes:custom ANNOTATION=\(.*find_me.*\)
Comments: 59, Rating: 0
Redis Server Setup on Ubuntu posted on 22 Mar 2011 15:34
If you have maverick: (read more…)
Comments: 91, Rating: 0
Using Hobo Edge on Rails 3 posted on 06 Mar 2011 01:18
!!!Hobo is not yet compatible with rails 3.2 so be sure to have "gem rails, "=3.1" in your Gemrfile.
[[/div]] (read more…)
Comments: 72, Rating: 0
Rails: Match each has_many with a belongs_to posted on 25 Feb 2011 21:53
Matching each belongs_to to a has_many might be tedious. You can check it on the bash shell:
A=parent_class; B=child_class; grep -R :$B app/models/*.rb | grep has_many | grep $A; grep -R :$A app/models/*.rb | grep $B
Then you'll see clearly parent and child classes are matching:
./parent_class.rb: has_many :child_classes, :dependent=>:destroy ./child_class.rb: belongs_to :parent_class
Comments: 39, Rating: 0
git status. Oh my god there are many untracked deletes posted on 22 Feb 2011 16:44
git status is reporting that there are many deleted files. And you really want to remove them from repository. Do 'git rm' one by one? No, you don't need to:
git status | grep deleted: | cut -d: -f2 | xargs git rm
Comments: 63, Rating: 0
Ruby on Rails: When many tests are failing posted on 11 Feb 2011 15:08
You need to correct an application but so many unit tests are failing. You're lost in the verbosity of the output. You can filter out the test results.
rake test | grep test.rb | cut -d: -f1 | sed 's/\[//g'
Comments: 37, Rating: 1
You have the documentation of gems posted on 28 Dec 2010 13:41
Start the gem documentation server (read more…)
Comments: 36, Rating: 0
Switching gem libraries using update-alternatives posted on 15 Dec 2010 13:13
Maintaining more than one rails and gems library at your development machine using update-alternatives is possible. But note that it's better done with RVM nowadays… You can still ready this article to learn more about update-alternatives. UPDATE: Using Hobo Edge On Rails 3 describes installing gems for both Rails 2 and Rails 3 in addition to installing Hobo on Rails3 using rvm. It also solves the problem here better. Go and do it: exit(0). (read more…)
Comments: 75, Rating: 0
Finding the guilty posted on 14 Dec 2010 15:21
This is a story about debugging deeply into Rails using method hooks and dumping the stack. Suddenly I've found out that rake tasks were not using correct pluralizations. Out of curiosity added those lines to config/initialize/inflections.rb (read more…)
Comments: 27, Rating: 0
Hobo Page Structure posted on 10 Dec 2010 13:07
Hobo Page Structure. Quick reference to customize DRYML pages. Handy to include as comments in DRML pages. (read more…)
Comments: 34, Rating: 0
Full Stack Testing a HOBO Application posted on 03 Dec 2010 18:10
All testing strategies and dsl covered in one simple Hobo application. Hands on introduction the unit, functional and acceptance tests follow here. If you are only insterested in testing bits then jump directly to that section. (read more…)
Comments: 115, Rating: 0
FactoryGirl in Development Environment posted on 03 Dec 2010 01:15
You can use FactoryGirl to populate the databse during development. You need Factories for test. But I don't see any reason that you cannot use them in development environment also. (read more…)
Comments: 43, Rating: 0
Hobo Security Hole posted on 02 Dec 2010 22:46
This problem is fixed in 1.0-stable and 1.3 (read more…)
Comments: 53, Rating: 0
Deleting all records in rails posted on 23 Nov 2010 17:01
If you need to run your tests without transactional fixtures then you can ensure all records are deleted after the test. (read more…)
Comments: 52, Rating: 0
See all posts
See my LinkedIn profile for more details.
Follow me on Twitter
Umur Ozkul can help you with the Sense team at
.
Listed by

blog directory

![]()



