search for: rubyonrails_newbie

Displaying 15 results from an estimated 15 matches for "rubyonrails_newbie".

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 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
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
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
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
2010 Jun 13
4
internal server error(500) when attempting to sendmail
Hello, I have an application that, when you create an appointment it sends an email to the client to say someone has just booked. Locally, this works fine (i''m just using sendmail) Locally - all email tests have come through - no problem. However - when I copy all the files onto the server and attempt to create a booking, it comes up with the 500 page. The error below if taken from my
2010 Feb 10
16
nil object - can anyone help?
Hi there, I''ve been looking for a while now and can''t seem to find where I''m going wrong.. I''m following a railscast tutorial to send invites out to people. there''s n invitation.rb page: class Invitation < ActiveRecord::Base #attr_accessible :sender_id, :recipient_email, :token, :sent_at belongs_to :sender, :class_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
2010 May 08
2
uninitialized constant - Please Help Me...
Hello everyone, I''ve decided to take the step into creating a mini-forum for my website where users can open new posts on exixting topics and allow people to discuss things etc... I am following a tutorial in the book: APRESS - Practical Rails Social Networking Sites and have hit a minor issue. Part of the Forum requirements is to add a moderator role to allow only certain individuals
2009 Oct 26
2
find_with_ferret issue
Hi All, I''m implementing the ferret search engine on my railspace project. In my User and Info model, I have line that reads: acts_as_ferret :fields => [''username'', ''email''] This initially generates a find_by_contents which is added to the community contoller: @users = User. find_by_contents(query, :limit => :all) THis returned a method
2009 Nov 11
1
getaddrinfo: nodename nor servname provided, or not known
Hi there, If I want to create email within my application (in production), how is this best achieved?? Following the railsspace tutorial, it only really suggests to use :smtp. I''d read on another site that to generate emails locally, i need to use :sendmail instead... However - I havent seen any decent examples of how to get this configured to be able to send emails within my local
2009 Sep 12
3
Cannot get my password to validate
Hello, I am working through the railsspace tutorrial, and i''ve noticed that the password validation is no longer working. I can get screen_name and email to validate, but for some reason, the password field is ignored... here''s what i have so far: within user.rb file PASSWORD_MIN_LENGTH = 4 PASSWORD_MAX_LENGTH = 40 validates_length_of :password, :within =>
2009 Nov 23
8
Beginner's challenge
Hello, I begun my journey in Ruby on Rails last Saturday and I am having some challenges specifically about the db Where should I go for the specific error listing and how it may be resolved. I googled and most that I''ve searched are not helpful. D -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2010 Feb 08
0
recommending friends, using RoR's Mailer
Hi there, I wan tto be able to allow users to invite friends... The action below is exactly the same as the code used to send a user their username. Only difference is, I need to change the ''''user = User.find_by_email(email)'''' part as obviously, I dont want to only email people who are already on the site. def invite @title = "Invitation"