similar to: nil object - can anyone help?

Displaying 20 results from an estimated 5000 matches similar to: "nil object - can anyone help?"

2011 Mar 17
7
Beta Invitation in Rails 3, little problem
INVITATION BETA EMAIL I have in the email that the app send to friend''s email address ------------------------ You are invited to ExampleApp.com click below to signup http://localhost:3000/signup.efweiuvwnjernfwkefwebhsohj ------------------------ But I have a dot in the url beteween http://localhost:3000 and the token I wish the following url
2009 Nov 02
7
*** Quick help with paperclip ***
Hi All, Someone reccomended using paperclip as a way to easily upload photos. Basically I want a quick and easy solution to allow users to add a profile picture. Anyway - I have followed the tutorial on here: http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/ I can add a file, but there isnt anywhere to upload it. I have followed the above tutorial word for word, but i dont
2010 Jan 03
9
ferret search in production
Hi there, after recently deploying my app, I have noticed that the search results are not being displayed... When I look in my app, I also notice that the apps content (search criterea) is not being indexed, so I dont have an index folder being created. I read on a google post that it may be that the ferret.yml server isn''t started (or perhaps the content of this file are not right) I
2010 Nov 09
6
Upgrading to snow leopard
Hi All, I''m currently mid-project at the moment, and am scepticle in upgrading to Snow Leopard. If I do, will it affect my current Ruby on Rails set up on my machine?? Cheers -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2010 Jan 31
3
Removing scaffold?
Hi, I just created a new scaffold in my app using the nifty-scaffold plugin. However, I messed up the syntax and forgot the model name, so it ended up being called "Title:string". I now can''t run any tasks from the terminal as I get the following error: vendor/rails/activesupport/lib/active_support/inflector.rb:352:in `const_defined?'': wrong constant name
2010 Feb 09
2
undefined method `generate_token'
Hi Everyone... I''m following a railscast episode on how to implement an invitation feature. It''s going really well, but i''ve hit a minor snag that I cant get over.. undefined method `generate_token'' for #<Invitation:0x2563bf8> The invite form allows me to check for a user, and whether they already have registered. If they have, the invitation is not
2009 Sep 24
13
Rails Authentication Tutorial
Does anyone know a good authentication tutorial they can suggest? I''ve tried several restful authentication ones and an authlogic one on RailsCast. But with each one I try, something seems to be missing in the tutorial and I can''t get it to work. I''m new to Rails so it''s possible user error on my part. I''m on Mac OS X 10.5 and I generate all my apps in
2006 Jul 23
4
has_many AND has_many :through ?
Hi, I am working on a scheduling app and I have a perpelextion (new word). I am wondering if the problem is my data model I have Users. Users can create Events. Users can be invited to Events created by other Users. So... user.rb class User < ActiveRecord::Base has_many :invitations # invitations to other users'' events has_many :events, :through => :invitations # all events
2008 Feb 15
3
Destroy, dependent and performance
Hi! This is my first post in this forum. I''m learning RoR for two weeks and I''m very interested about how to improve this framework. I was testing one app I''m working in and I had some problems with destroying. The code is simple (and maybe wrong, as I said i''m just learning!). When you destroy a league, you send a message to all the users associated to this
2009 Aug 18
7
** Removing all instances of mysql on mac osx **
I am trying to switch from sqllite3 to mysql on Ruby on Rails. Whenever I try to install the mysql gem, i get an error: *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. I cd''d into my usr/local/bin directory and saw i have several
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
2009 Dec 29
15
help needed - undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task
Hello, I am trying to deploy my app at the moment, and each time I do, I get the following error when i run a trace on it: rake db:migrate --trace (in /srv/some area/someplaceelse...) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate ** Invoke db:schema:dump (first_time) ** Invoke environment ** Execute db:schema:dump rake
2009 Aug 15
10
** PLEASE HELP A NEWBIE ** Status: 500 Internal Server Error no such file to load -- mysql
Hello All, I have managed to upgrade ruby to 1.8.7. However, when I use Terminal and ''cd'' to the app and run ''ruby script/ server'' ... I get an error when i click the link ''about your applications environment''. When I look into Terminal, it suggests Status: 500 Internal Server Error no such file to load -- mysql How do I overcome this?
2009 Dec 24
12
no such file to load -- ferret
Hi there, I''m just trying to deploy my app to my vhost, and i''m getting an error on the phusion passenger page: no such file to load -- ferret now everything worked fine in development. DO i need to reinstall the plugin and gem again? if so - would these be in domain.com/public? or should it be installed at domain.com? ANy advice would be great! THank you. -- You received
2005 Mar 25
4
Gmail invitation
Hello R users! I just found out that I have 49 invitations for Gmail (gmail.google.com). I have been using it now for a while and is really nice. Don't forget 1 GB for free. I will invite those who respond to this mail by FIFO. -- Lep pozdrav / With regards, Gregor Gorjanc ------------------------------------------------------------------------ University of Ljubljana Biotechnical
2013 Aug 04
1
10th anniversary of tinc 1.0
Hello everyone, Today is exactly 10 years ago that tinc 1.0 was released. I would have hoped to celebrate this by releasing 1.0.22 and 1.1pre8 today, but this will instead happen in one week. Tinc 1.1 is close to becoming stable, and I hope to release 1.1.0 before the end of the year. The main features of tinc 1.1 are the improved security over tinc 1.0, and a much nicer interface that makes it
2013 Aug 04
1
10th anniversary of tinc 1.0
Hello everyone, Today is exactly 10 years ago that tinc 1.0 was released. I would have hoped to celebrate this by releasing 1.0.22 and 1.1pre8 today, but this will instead happen in one week. Tinc 1.1 is close to becoming stable, and I hope to release 1.1.0 before the end of the year. The main features of tinc 1.1 are the improved security over tinc 1.0, and a much nicer interface that makes it
2017 May 17
1
Any way to set the subnet/suggest of invitation?
Just curious if there is any way to set the Subnet of an invitation. Thanks Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20170517/3be76840/attachment.html>
2009 Sep 25
12
uniqueness validation perplexity
I want to write a validate routine to check to enforce that a position must be unique in a category. (In another category, it doesn''t have to and shouldn''t need to be unique.) I write this code which works happily for new items: def position_in_category_not_unique @items = Item.find( :all, :conditions => [ "category_id = ? AND position = ?", category_id,
2009 Dec 07
3
captcha
Hi all, I want to implement a captcha on my register page to help weed out any ''non-human'' visitors. I was told to check out http://expressica.com/simple_captcha/ but the site isnt responding. Does anyone have any other reccomendations that are tried and tested & successful? Many Thanks -- You received this message because you are subscribed to the Google Groups