Displaying 20 results from an estimated 10000 matches similar to: "Rating"
2009 Nov 17
5
has_many :through and foo.bars.include?
hallo everybody,
i already googled the following problem, but there are so many
questions regarding "has_many :through", that i just couldn''t find
what i was looking for. so, i''m really sorry if this has been asked
before. if so, just drop me the link.
i have a has_many :through relationship similar to the following
example:
class Group < ActiveRecord::Base
 
2009 Mar 06
9
Association broken when upgrading from rails 1.2.6 to 2.2.2
I have an app with the following models:
course
belongs_to :semester
semester
has_many: courses
belongs_to :education
education
has_many :semesters
In my old app (rails 1.2.6) I was able to access variables via
controller
@courses = Course.find(:all)
view file:
<% for course in @courses %>
<%= course.name %> <- this line works
<%= course.semester.name %> <- this is now
2007 Jun 04
1
acts_as_rateable in Beast
I''m trying to implement acts_as_rateable to my Beast installation to
give users the option to rate posts (like reddit).  I chose
acts_as_rateable as it supposedly easily allows reddit-type voting but
I''m having some problems setting it up and the documentation seems
outdated.
(http://www.juixe.com/techknow/index.php/2006/07/05/acts-as-rateable-plugin/)
So far, I''ve
2009 Feb 24
7
Add .html extension by default
Hi all,
i would like to add the .html extension by default to all my
resources. What is the best way to do that? The reason for this is
that i need to download the generated sites via wget and i need
the .html extension for the downloaded files. Also it would be nice if
the link_to would automatically generate the links with .html...
Thanks,
Gerold
2009 Feb 02
4
AssociationTypeMismatch got Fixnum
I''m using rails 2.0.5 and mongrel.
I have a Page and a Source models.
class Source < ActiveRecord::Base
  has_many :pages
end
class Page < ActiveRecord::Base
  belongs_to :source
end
Basically I''m listing pages with their sources; In production and
development ( I use mongrel_cluster in the first and a single mongrel
on the second) I got this error:
2006 May 25
1
Rating System in Rails
hi everybody,
can you tell me, is there any plugins available for Rating (Rating 
system) in Rails?
or any other way to do it?
plz give me the url if such plugin exist...
 and plz give me the url of tutorial if any alternatives for Rating 
process is available....
i expect some good replies...
Regards,
Neo
-- 
Posted via http://www.ruby-forum.com/.
2009 Feb 09
4
rails on ruby-1.8.7
Download page(http://rubyonrails.org/download) tells as follows
"We recommend Ruby 1.8.7 for use with Rails."
Which version of RoR is stable(or available) on ruby-1.8.7?
I want to use rails-2.1.2. but I dont know that is appropriate.
# Im going to run redMine 0.8.0 on Ubuntu 8.10.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2009 Jan 11
4
Large uploads with attchment-fu
Hi
I am trying to upload 30mb files with attachment-fu, these seem to
just hang. (works file for small image files)
I am using mongrel cluster  and nginx...
Does anyone have any advice?
Thanks
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
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 of where it should.
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:
2011 Oct 05
1
lattice-dotplot: resize axis
dear all,
I want to make a dotplot with ratings from Items in 6 ItemsGroups.
I reordered the items by rating within each group.
I plotted the items by rating conditional on ItemGroup.
The ordering works as I wanted but my y-aches labels (items) within  
each ItemGroup are now unequally spaced, e.g., in some panels there is a
gap between one lower rated item and the next higher, to give a picture
2006 Mar 07
10
Star Rating Component?
Hi,
I''m looking for a star rating component for RoR, a bit like Votio 
(http://redalt.com/downloads/ - find the votio heading) or the star 
rating used on Amazon.
I don''t really need the AJAX capabilities, just the ability to bind the 
results to a hidden drop down, or radio inputs.
Multiple raters per page is also an issue.
Any recomendations?
-- 
Posted via
2009 Feb 09
7
favored development environment
I am about to purchase a laptop strictly for development (ruby &
rails) and then leverage my existing large screen monitor with it when
in the office.  Laptop monitor for running tests, large screen for
development etc.  Wondering what the consensus is now on most ideal
environment for rails at this point?  Macbook pro + textmate? Pc with
unbuntu + vim(or whatever)?  what are most professional
2006 Aug 03
2
calculating average ratings and other imponderables
Okay, this *should* be easy, but it isn''t, although I reserve the right to 
smack myself upside the head if it is:
Assume that a smart has_many ratings, and a rating belongs_to a smart (the 
models are fine).  Each rating has a column smart_id.
Each smart, then, has many ratings, with a column called "rating" that is 
an int (1-10).
I want to find, say, the ten smarts with
2009 Jan 09
14
undefined local variable or method `current_user' for
Hi All,          I am using a Plugin mdarby-restful_acl with
restful_authentication and I am following the procedure form
http://github.com/mdarby/restful_acl/tree/master , but I am getting some
irritating error "undefined local variable or method `current_user'' for", I
know I am missing something but I dont know what?
Can anybody help me regarding this?
Shahroon
2017 Jul 18
2
lme4 question
Hello,
I am trying to run the following model:
domi ~ type*ratio+((1|id)+(0+type|id)+(1|face_id)+(1|car_id))
My question is whether the data coding for "face_id" and "car_id" variables
is correct.
As you see on the following sample data structure, "type" is repeated
measure where 1=car, 0=face. Thus, I coded "face_id" as "0" when the type
is 1
2007 Jan 31
1
help with extensions
I am working with extensions to has_many associations, and I want to create
a finder method that is conditional on the attributes of the object whose
association I''m working with.
So, to use the example from the Agile Web Development: the authors show on
pg 340 in the second edition how to pass an argument to a finder method. But
I want to know if it''s possible to instead have
2013 Apr 17
1
I have done my first open source project, star rating gem for rails apps
Hello,
Along back I''ve been developing my very first open source project and 
finally decided to publish it. It is a star rating system for rails 
applications. It works basically like the other systems but I used 
different javascript plugin and added some other features such as ability 
to re-rate user''s ratings, support for long IDs of users etc etc
GitHub repository
2012 Jul 29
2
Error in for-loop
Hello erverybody, 
I have a problem with my second for-loop. 
1. First i read the tables.
datos.mx1 <- read.table('PETmx1.csv',head=TRUE,sep=';')
datos.min <- read.table('PETmin.csv',head=TRUE,sep=';')
http://r.789695.n4.nabble.com/file/n4638257/PETmx1.csv PETmx1.csv 
http://r.789695.n4.nabble.com/file/n4638257/PETmin.csv PETmin.csv 
names(datos.mx1)
2013 Jan 31
7
[PATCH] libxl: pass debug flag down to libxl_domain_suspend
# HG changeset patch
# User Olaf Hering <olaf@aepfle.de>
# Date 1359648298 -3600
# Node ID 256d59b2bc8a413876559dc8daf4c52ba46677de
# Parent  12455da211d4e841692b2374086356a87eb74ff7
libxl: pass debug flag down to libxl_domain_suspend
libxl_domain_suspend is already prepared to handle LIBXL_SUSPEND_DEBUG,
and xl migrate handles the -d switch as well. Pass this flag down to