search for: naffi

Displaying 7 results from an estimated 7 matches for "naffi".

Did you mean: naff
2006 Nov 15
3
Star rating system - IE display problems
Has anyone out there implemented a star rating system as described by Dave Naffis? http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system He really has an excellent HOWTO to set this up. Unfortunately I see problems in IE. The overlayed, filled-in rating stars are not overlaying over top of the blank stars. The overlay is starting about 2.5 stars right...
2006 Jul 27
3
timer service
hi everyone, I have this case where I need to check some records in the database of a specific data condition every 5 seconds and do some business logic if this scenario is true. Problem is there doesn''t seem to be any timer service in the rails framework. Anyone have a general idea of how to attack this problem? thanks, -dan -- Posted via http://www.ruby-forum.com/.
2006 Jul 25
3
Task scheduler
Does anyone know if there exists a Task Scheduler module in Ruby on Rails like in TurboGears below? http://www.turbogears.org/preview/docs/scheduler.html I''m using Ruby on Rails for a multiplayer online game and I want to set checks at regular intervals to see if users are still logged in etc. Thanks in advance -- Posted via http://www.ruby-forum.com/.
2008 Jul 01
2
rateable plugin problem
I am having some problem figuring out how to use the rateable plugin. i followed as close as the directions located at http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system but there seem to be some problem. I am getting the following error You have a nil object when you didn''t expect it! The error occured while evaluating nil.rating Extracted source (around line #1): 1: <%= number_with_precisi...
2006 Sep 23
8
acts_as_rateable plugin help!
Hello, I am having some trouble figuring out how to use the rateable plugin. i followed as close as the directions located at http://www.naffis.com/blog/articles/2006/08/31/rails-ajax-star-rating-system but i fail at working it. i am getting this error You have a nil object when you didn''t expect it! The error occured while evaluating nil.rating Extracted source (around line #1): 1: <%= number_with_precision(asset.rating,...
2006 Jul 25
0
writing an email file attachment to the filesystem
I''m having some difficulty writing an email file attachment to the filesystem. I have the following line in my /etc/aliases webname: "| /usr/bin/ruby /home/webname/webapp/script/runner ''AssetSubmitHandler.receive STDIN.read''" Everything works up to this point, it picks up the email and tries to process it. When I go to write the file using (in my
2006 Jul 02
1
prevent duplicate inserts with has_many :through ??
Does anyone have an efficient/elegant way to prevent duplicate inserts when using a has_many :through relationship. So I have something like this: class User < ActiveRecord::Base has_many :favorite_teams has_many :teams, :through => :favorite_teams end class FavoriteTeams < ActiveRecord::Base belongs_to :user belongs_to :team end class Teams < ActiveRecord::Base has_many