similar to: Nil object nightmare

Displaying 20 results from an estimated 3000 matches similar to: "Nil object nightmare"

2008 Jan 12
1
Collection_Select not showing Selected option
Hi, I''m having some problem with getting collection_select to return the current value when editing a record. According to everything I''ve seen, there was an issue but it''s been fixed, but I can''t figure out why it isn''t returning the current value as a selected option. I''ve checked the table structures, and both the call_driver.product_line_id
2010 Oct 11
5
Object lost in memory/trashed?
Hi, I''ve got a problem on which I''ve spent many hours, and I can''t get a clue on what is happening... I hope someone here will be able to help me. Here is the situation : my Rails app uses acts_as_commentable and acts_as_bookmarkable on a Diagram model. Everything''s working OK individually: I can create a comment on a Diagram, bookmark it, and so on. Now,
2010 Mar 23
0
Frozen hash problem
I''d like to delete some records before saving them. I ran this experiment: before_save :prune_lab_datas def prune_lab_datas lab_datas.each do |lab_data| lab_data.destroy end raise lab_datas.to_yaml end But nothing seems to be deleted in the hash: --- - &id001 !ruby/object:LabData attributes: created_at: 2010-03-21 22:16:06 unit_id: "3"
2007 Nov 22
1
has_many :through questions
I''ve created the following associations using :through: class Person < ActiveRecord::Base has_many :attendees, :dependent => :destroy has_many :events, :through => :attendees, :uniq => true end class Event < ActiveRecord::Base has_many :attendees, :dependent => :destroy has_many :people, :through => :attendees, :uniq => true
2012 Dec 26
2
has value in a console but it's nil in my controller and my view?
I have this strange behavior and I don''t undertand why. Here is the thing: I have this record in my payment model: 1.9.3p286 :019 > u.payment.last Payment Load (0.3ms) SELECT "payments".* FROM "payments" WHERE "payments"."user_id" = 10 => [#<Payment id: 37, bank_name: "Mercantil", plan: "Plan Uno", date:
2007 Jan 09
6
rcov seg fault
Hi Trying to get rcov going (has been working), but with the following context and specs it fails. context ''/account POST with invalid attendee'' do controller_name :account setup do Attendee.stub!(:create!).and_raise(ActiveRecord::RecordInvalid.new( Attendee.new)) end specify ''should raise on create'' do Attendee.should_receive(:create!).with({
2011 Apr 06
2
Wish List: has_many :dependent => {}
I am after a nice way to disable (not destroy, delete nor nullify) all associated records. I''m a hoarder, I don''t want to get rid of anything but I want to stop records being visible. I have a disabled boolean in my tables and if I disable the top record in the association (say the association is 5-6 levels deep), I would like to cleanly disable its children. I''ve
2010 Jun 18
0
New course schedule and new locations
Hi all, Mango have released their updated training schedule which includes new courses and new locations. Hadley Wickham will also be coming to London to teach Data Visualisation in R. Please see details below: Public Courses Our public courses include introductory to advanced training in general data analysis through to industry specific data analysis. Attendees of our public courses receive
2009 Jul 29
1
Open Source Pavilion at AstriCon: Your project wanted!
Each year at AstriCon, we have an Open Source Pavilion which showcases projects which are adjuncts to Asterisk, or which are directly relevant to improving the utility and features of Asterisk. It gives smaller projects the chance to have some space to display what they're doing, and to give demonstrations to the AstriCon attendees who are interested in some of the things happening
2009 Nov 05
0
Biometric Summit - Feb. 22-25, 2010
Join your colleagues for the 20th highly acclaimed international forum to hear the latest implementations of biometrics... The Winter 2010 BIOMETRICS SUMMIT: -------------------- Practical Implementation Strategies, Market Trends And Best Practices In Government And Business -------------------- February 22-25, 2010 - Miami, FL
2009 Nov 16
0
Biometric Summit - 2010
JOIN YOUR COLLEAGUES FOR THE 20TH HIGHLY ACCLAIMED INTERNATIONAL FORUM TO HEAR THE LATEST IMPLEMENTATIONS OF BIOMETRICS... THE WINTER 2010 BIOMETRICS SUMMIT: -------------------- Practical Implementation Strategies, Market Trends And Best Practices In Government And Business -------------------- February 22-25, 2010 - Miami, FL
2009 Oct 15
2
Model.Save causing nil object error
Hello all. Newbie to rails here and I am having a bit of an issue. I have the following models: class Topic < ActiveRecord::Base validates_presence_of :name validates_length_of :name, :minimum => 3 has_many :relationship_topics has_many :relationships, :through => :relationship_topics end class Relationship < ActiveRecord::Base has_many :relationship_topics has_many
1999 Mar 21
0
USENIX Annual Conference, June 6-11, Monterey, Calif
You'll get the why as well as the how-to in advanced systems and software at this renown conference for system administrators, developers, and researchers- 24th Annual USENIX TECHNICAL CONFERENCE June 6-11, 1999 Monterey, California Includes FREENIX track devoted to open source software ----------------------------------------------------------------- Review the program and register
2011 Dec 07
2
Question About Separation Of Concerns (ActiveRecord)
Hello, I''m a bit stuck with where to put some method calls (separation of responsibility) and although I''m trying to do it just simply now in the models, I think my problem raises a bigger question about Fat Models. But that''s another subject for another day. Right now, I have .... Event has_many meetings ## has an a invitation_expiry date field. def
2023 Apr 17
3
XDC 2023: Registration & Call for Proposals now open!
Hello! Registration & Call for Proposals are now open for XDC 2023, which will take place on October 17-19, 2023. https://xdc2023.x.org As usual, the conference is free of charge and open to the general public. If you plan on attending, please make sure to register as early as possible! In order to register as attendee, you will therefore need to register via the XDC website.
2018 Mar 07
0
I have a question about 2018 European LLVM Developers' Meeting - Bristol
Hi, Nice to e-meet you. This is Gloria, a former event organizer. Are you in charge of organizing 2018 European LLVM Developers' Meeting - Bristol? I heard of your event but I'm not sure if you are the right person to speak with. I am an event consultant at Whova, a company started by former researchers in UCSD. We provide **a mobile event app** to help organizers create
2009 Sep 18
0
[LLVMdev] BOFs at LLVM Developers' Meeting
Unique to this year's Developer Meeting, we will have Birds-of-a- Feather sessions (BOFs) that will coincide with the talks. For those unfamiliar with BOFs, these are attendee organized meetings for people to meet, exchange ideas, and share information on a variety of topics. BOF slots will be 40 minutes long. BOFs will be printed on the official schedule and be put on the website so
2010 Oct 12
0
[LLVMdev] BOFs at LLVM Dev Meeting
At this year's Developer Meeting, we will have Birds-of-a-Feather sessions (BOFs) that will coincide with the talks. For those unfamiliar with BOFs, these are attendee organized meetings for people to meet, exchange ideas, and share information on a variety of topics. BOF slots will be 40 minutes long. BOFs will be printed on the official schedule and be put on the website so attendees can
2017 Aug 19
0
XDC 2017 : Call for paper
On Tue, Jun 6, 2017 at 4:19 PM, Martin Peres <martin.peres at free.fr> wrote: > Hello, > > I have the pleasure to announce that the X.org Developer Conference 2017 > will be held in Mountain View, California from September 20th to > September 22nd. The venue is located at the Googleplex. > > The official page for the event is http://www.x.org/wiki/Events/XDC2017 >
2006 Apr 12
0
Workshop for Good - May 20/21, Washington DC, $400, Benefitting Public High School
Hey Everyone, I''ve been working on putting this project together for a few weeks now and it is finally coming together. The "Workshop for Good" will take place Saturday and Sunday May 20th - 21st. The cost is $400 for most people, but a discounted price of $200 for current high-school or undergraduate students (limit 5). All proceeds will benefit the Cesar Chavez Public