search for: guestbook

Displaying 12 results from an estimated 12 matches for "guestbook".

2008 May 26
11
doesn't create my guestbook
Hi, I''m having some trouble with my realtions (I think). I''m creating a guestbook with comments in ajax (the structure resembles the structure of a blog). So I''ve got a "flogs table" which keeps the "user_id" and the "id" of the flogs. This table. Then I''ve got a "guestbooks table" containing "id" of the guestbo...
2009 Sep 12
1
guestbook for centos 4 or 5 ???
does anyone have a very secure & reliable recommendation for a guestbook solution for virtual hosting on centos 4 or 5 ? - rh
2006 Apr 15
0
Component using
Hello all, I have a simple task. I need to create a guestbook component, and render it from the main application. The guestbook have the following controller actions: viewMessages - simply shows messages from model addMessage - generates form that accept message text, username, password. The form points to saveMessage action. saveMessage - receives data fr...
2006 Jul 14
5
Newbie Formating output
Hi, am a rails newbie. I had problems with 2 tasks i have created a guestbook app just to try out rails users sign guestbook by leaving name and message currently, the list action shows plain text like this: Joe Smith love your guestbook but i would like to add formating to the name field, say different colour, bold, and add time eg: Joe Smith (in red colour) wrote 5...
2006 Mar 09
2
clarify
im learning rails and i got a error while writing a sample code. Script : ------- class GuestBookController < ActionController::Base def index @entry = GuestBook.find_all end def list_parameters params = request.parameters render :text=>"Parameters #{params}" end def list params = request.parameters @entry = GuestBook.new(params[:name]) @ent...
2006 May 24
0
Valid W3C XHTML Code?!
...c specs. my biggest problem is the auto-generated html code of the link_to function which gives the form field an id value which includes an array. that rises the following error: Line 45 column 20: character "[" is not allowed in the value of attribute "id". <input id="guestbook[timestamp]" name="guestbook[timestamp]" typ [...] some ideas what i can do about that (besides write the fields by hand)? thx in advance -- Posted via http://www.ruby-forum.com/.
2007 Apr 15
1
help:How to set default value for a column use of migration?
...olumn :name, :string t.column :content, :text t.column :posttime, :datetime, :default => "now()" end end def self.down drop_table :messages end end it can''t work sucessfully.And the error like this: (in G:/Jc_RubyonRails/InstantRails/rails_apps/guestbook) == CreateMessages: migrating ================================================== -- create_table(:messages) rake aborted! Mysql::Error: Invalid default value for ''posttime'': CREATE TABLE messages (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NU...
2006 May 13
7
Recognition Failure
I keep getting a Recognition failed for "/dispatch.fcgi" error. I search for a solution and the closest I came to finding one was someone saying "look at the Rewrite in .htaccess and you''ll be able to figure it out." Well, I can''t! If anyone could help, I would appreciate it. Thanks! Floyd -------------- next part -------------- An HTML attachment
2006 Jan 10
6
Can we cache user home pages?
...whole page (which is what happens now) .So I want to use some kind of caching mechanism. The page caching doc clearly says that this works for only stateless pages.But again the example mentions a page which can be cached ''weblog/show/5 '' .The user''s home page url in my guestbook is a page which looks like /users/index/5 (5 is the unique user id). So does this mean I can use page caching? If not is there any other approach ? Vivek -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060110...
2008 Jun 06
2
Messy Cookies
It looks like everyone has tried to fix the cookies lately, and no-one managed to get it 100% correctly. The current implementation doesn''t set the path correctly, and you can''t use @cookies in a #service-overload. Qwzybug''s patch fixed only the sessions. Jenna''s patch won''t allow to set complex cookies (@cookies.key = {:path => "/path",
2005 Aug 11
1
newbie with www user security problem
many, MANY apologies up front if i have sent this to the wrong place! I am inherently a software engineer who now gets to monitor a mail server (don't ask). anyway i get an email message that alerts me from a user that we have been hacked by a spammer and the mail message header is: ------------- Forwarded message follows ------------- X-Auth-No: Return-Path:
1999 Dec 07
1
Bug list summary (automatic post)
...clive@bell-labs.com Date: Fri, 3 Dec 1999 16:45:08 +0100 (MET) * PR# 359 * Subject: Inconsistent messages with [[ list indexing From: Prof Brian D Ripley <ripley@stats.ox.ac.uk> Date: Sat, 4 Dec 1999 14:13:07 +0000 (GMT) * PR# 360 * Subject: laser printer toner advertisement From: <bmark1@guestbooks.net> Date: Sun, 5 Dec 1999 19:47:02 * PR# 361 * Subject: "function" function -- infinite loops and bus error [not user problem] From: Martin Maechler <maechler@stat.math.ethz.ch> Date: Mon, 6 Dec 1999 12:19:36 +0100 (MET) * PR# 362 * Subject: Oprah, Nightline, Maria Shriver, 48...