similar to: Error occured while evaluating nil

Displaying 20 results from an estimated 9000 matches similar to: "Error occured while evaluating nil"

2012 Oct 21
2
check box tag binding between controller and the view
I am new to RoR. The problem i am facing is that that i have a few check box and initially when i run my app for the first time i want them all to be selected while for every next time i want it to have the last checked boxes checked. To do this, In my controller i have @all_ratings = Movie.all_ratings @selected_ratings = [] if !params[:ratings].nil?
2007 Jul 12
1
ggplot2 / reshape / Question on manipulating data
I'm an R newbie but recently discovered the ggplot2 and reshape packages which seem incredibly useful and much easier to use for a beginner. Using the data from the IMDB, I'm trying to see how the average movie rating varies by year. Here is what my data looks like: > ratings <- read.delim("groomed.list", header = TRUE, sep = "|", comment.char = "")
2007 Jan 27
3
Samba running slow
Hello everyone: Over the past few years I have been a happy samba user, running samba on Redhat / FC platforms. Recently I upgraded hardware, and Samba hasn't been performing well at all.. which makes me sad :-( The new hardware is Asus P5B board with a dual-core intel processor. This board has an onboard Realtek RTL8111/8168B gigabit ethernet controller, which was a hassle to setup.
2006 Jul 31
2
The error occured while evaluating nil.gsub!
#{RAILS_ROOT}/app/controllers/start_controller.rb:13:in `create'' --- class StartController < ApplicationController def create #------------Remove Tag--------------------------- @name = params[:name] @file = params[:filepath] @file = @file.gsub!(/^.*(\\|\/)/, '''') # replace html tags with blank post = Post.save(@params["removetag"]) end end --
2006 Dec 13
6
triggering a query within a loop
Any help with this would be very appreciated, I''m completely new to rails. I''m building an application that''s looking to do the following: First off i''m trying to convert my site from ColdFusion to RoR, this is the site: http://www.walkenclips.com/ It''s one page that basically does this: Query the db to get a list of movies (movies table) Loop
2009 Aug 20
1
ggsave to .png bug in ggplot2 (?)
Text is really small and legend boxes are huge in this plot when saved to .png with ggsave. Plot is correct (i.e. looks the same as the screen) when saved with dev.print. Saving to .pdf with ggsave give the correct output. I'm a noob at ggplot2 so this may be user error rather than a bug. However the interface to ggsave seems simple enough to exclude many possibilities for screwing this up
2006 Aug 16
3
Question RE Rails associations
Hi, I am new to Ruby and Rails programming and am having difficulty with the following scenario... Consider the following model: class Studio < ActiveRecord::Base has_many :movies has_and_belongs_to_many :actors end class Movie < ActiveRecord::Base belongs_to :studio has_and_belongs_to_many :actors end class Actor < ActiveRecord::Base has_and_belongs_to_many :studios
2007 Apr 25
2
Flash Skin and Rails View Issue
Hi, I have an issue embedding a flash movie into one of my rails views. /movies/index.rhtml embeds /resources/movies/episode1.swf and episode1.flv e.g index.rhtml includes: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320"
2007 Aug 16
1
Branch 'vivi' - vivified/ui
vivified/ui/main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) New commits: diff-tree be3bc1a6cd88c0f2294b4f6059898c3989f172eb (from da8a9e9b145d5cb1aebc04764e9ed66856a31c9b) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 16 21:42:39 2007 +0200 Set the title correctly diff --git a/vivified/ui/main.c b/vivified/ui/main.c index df123a9..13d03ab 100644 ---
2011 Jan 07
2
XEN on CentOS 5.5 - Cannot create VM using Local Install (grayed out)
Hello community! I''m running into some strange problem with my CentOS while trying to create a new VM using virt-manager. I''m connected locally and when I''m following the wizard, at the time it asks me to select the installation option I can only select Network Install. I am pretty messed up ,being trying to search a whole net for last week ,but cant fix it Any idea
2009 Mar 06
1
questions
Hello, I have some questions about the library. First, I would like to be able to get how many frames in a movie, skip to a given frame, and render one selected frame. Looking at the API, I see that there are functions for this in swfdec_sprite_movie.h. But I don't see how I can get to those functions starting from a swfdec_player. Second, there are some movies that are collections of
2007 Jun 20
1
Branch 'as' - libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c
libswfdec/swfdec_graphic_movie.c | 35 +++++++++++++++++++++++++++++++++++ libswfdec/swfdec_movie.c | 3 +++ libswfdec/swfdec_movie.h | 2 ++ libswfdec/swfdec_sprite_movie.c | 13 ++++++++----- 4 files changed, 48 insertions(+), 5 deletions(-) New commits: diff-tree 255d2e184bae07fbcd9db8a906450a21e0f687c7 (from 9ed04d23be28c9dd349a2f5024546c465d09da96) Author: Benjamin
2012 Oct 10
5
Theora integration question
Hello, I am programmer working on a product which integrates Theora. I have a question regarding the memory use on some of the internals of Theora. Is this the right forum for this question, and if not, does anyone know where an appropriate place to ask is? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2005 Apr 15
3
pxelinux 2.11 unable to mount root fs
Hi, I've been using PxeLinux to boot our Debian kernel successfully for some time now. I recently increased the size of the ramdisk from about 484 MBs to 517 MBs and encountered the following error during bootup: --- RAMDISK: Compressed image found at block 0 Freeing initrd memory: 105519k EXT3-fs: Magic mismatch, very weird! cramfs: wrong magic sh-2021: reiserfs_read_super: can not find
2007 Apr 04
0
error occurred while evaluating nil.accepts
I have an index method with a respond_to block that produces this error: NoMethodError (You have a nil object when you didn''t expect it! The error occurred while evaluating nil.accepts): The show method has the same respond_to block but doesn''t error out. If I take the respond_to block out of the index method, it works. If I give index params[:keywords] I get this error:
2023 Dec 27
1
User doesn't have write access to directory
I have a user that is a member of a group that should have write access to a directory but they cannot write to the directory. $ la | grep Movies drwxr-xr-x 345 *HOME\movie editors* HOME\movie users 36K May 22 2023 *Movies* $ id testuser uid=3000038(HOME\testuser) gid=100(*users*) groups=100(users),3000038(HOME\testuser),3000026(HOME\photo users),*3000031(HOME\movie
2006 Jan 21
7
n-way joins
Hi, I''m somewhat of a Rails newbie and am trying to understand how to formulate n-way (3 or 4 way) joins in Rails (where the join tables contain extra data as well.) Let me give you my basic entities: foos id - pk name - unique bars id - pk name - unique bazs id - pk name - unique frozs id - pk name - unique then i have two separate join tables: foos_bars_bazs - 3 way join
2008 Mar 17
2
NoMethodError (...occurred while evaluating nil.split)
I am getting a NoMethodError, with the following decription: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.split The error is raised on function call line of the ''.html.erb'' file. The function is present in the relevant ''helper.rb'' file and contains the
2004 Jun 18
5
Slowdown on lots of motion
I'm playing the "Honey" movie (both Honey-small and Honey-large) and I notice significant slowdown during periods of lots of motion (when the camera shakes, when the first man hops into bed, when people turn around and approach the camera, etc.). The audio plays smoothly all the time but when there is a lot of motion, the picture freezes and resumes when there's less motion.
2023 Dec 28
1
User doesn't have write access to directory
On Wed, 27 Dec 2023 17:22:21 -0500 Rob Campbell via samba <samba at lists.samba.org> wrote: > I have a user that is a member of a group that should have write > access to a directory but they cannot write to the directory. > > > $ la | grep Movies > drwxr-xr-x 345 *HOME\movie editors* HOME\movie users 36K > May 22 2023 *Movies* > > $ id testuser