similar to: doesn't create my guestbook

Displaying 20 results from an estimated 300 matches similar to: "doesn't create my guestbook"

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 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 days ago love your
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])
2007 Apr 15
1
help:How to set default value for a column use of migration?
hi,all.. Here i want to use of migration to create a table and set a defult value for a column..but i cant''t finished.. mycode: class CreateMessages < ActiveRecord::Migration def self.up create_table :messages do |t| t.column :name, :string t.column :content, :text t.column :posttime, :datetime, :default => "now()" end end def
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 from addMessage action. On the main
2006 Jan 10
6
Can we cache user home pages?
Hi Railers, I am trying to create a simple application like a guest book which has users and uses sessions to keep track of which users are logged on. The user''s page is constructed after doing some SQL queries and the user clicks on another link and hits the back button I dont want to regenerate the whole page (which is what happens now) .So I want to use some kind of caching mechanism.
2006 May 24
0
Valid W3C XHTML Code?!
Hi there, i was just asking myself what i can do get my ruby site valid to the w3c 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
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
2008 Jan 17
2
Forms, database, and yes I'm new
I have a quick question on a problem of mine. I''ve done the ONLamp tutorial with scaffolding a recipe etc, and honesly I didn''t get really any wiser. So I decided to try it out on my own without scaffolding. However. Now I''m stuck with my edit-form. I need to update a row with old text in the ''pres'' column in the table called
2009 Jul 16
12
Find_all_by and find(:all) to only select certain values for a selection box
So....let''s have a look if I understood the issue: -Find_all_by is actually the same like Find(:all), however Find_all_by is much shorter and less complicated than the syntax of Find(:all) -So in my CONTROLLER it says @files = find(:all) however I don''t want to see all files displayed in my selection box, because I only want to see the foles whose mandant_id is the same like
2001 Nov 05
4
trusth realtions between samba PDC and NT PDC
i have a samba PDC and a NT PDC working in mi local net.. in the samba PDC there are around 800 users.. in the NT PDC there are aroun 400 users.. i want my user to can use the shares of the NT and the shares of the clients of the NT.. in Microsoft terms this is called Trusth relationship.. how can i do this with samba? thx!
2010 Jul 10
2
PHP can't insert - Can someone please help
Hi Guys, I am making another module for Voicemail. I have three fields in a POST form that have to be connected together to make it a single 10 digit number but there is something wrong in my syntax probably. $npaa = "('$_POST[anpa]')"; $nxxa = "('$_POST[anxx]')"; $blocka = "('$_POST[ablock]')"; *$grplist = $npaa.$nxxa.$blocka;*
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",
2010 Jul 12
1
My own FreePBX FollowME module - Stuck at Reload - Anyone else had experience with this?
Hi Everyone, I have done some php coding to come up with my own FollowME module for FreePBX. The need for this has some security considerations behind it. This is what my code does at core: $sql="REPLACE INTO findmefollow(grpnum, strategy, grptime, grppre, grplist, annmsg_id,postdest, dring, needsconf, remotealert_id, toolate_id, ringing, pre_ring) VALUES
2006 Feb 21
6
Help with Script.aculo inPlaceEditor
Well, I start recently with Scriptacolus and inPlaceEditor. I have two doubts about use it. 1) When I specify URL for save changes or not it doesn''t work. See example below: <script type="text/javascript"> new Ajax.InPlaceEditor(''aNombre'', ''productos.php?a=actualizar&f=aNombre''); </script> In productos.php file I have
2006 Feb 05
6
render partial -- show certain content only if...
i''m working on a _post.rhtml partial, and it displays one blog post. i''m accessing this partial on the list.rhtml and the show.rhtml what i''d like is to only show the "link" link on the list.rhtml and not on the show page. <%= post.title%> <br /> <%= post.body%> <%= link_to
2007 Nov 28
2
How to pass POST variables to Ajax.Request
New to the group, and not sure I have the searching figured out yet so let me know if this is already posted somewhere. I am writing a Joomla Component that is loading phpbb (a forum) inside a div of Joomla to avoid using IFRAMES. So in short I am using the Ajax.Request call to read in the HTML then I parse thru and using gsub change the default forum links so they pass thru this component I
2008 Feb 29
4
App design question: user_photo helper
I''m having trouble using an application helper and understanding how I should make it work throughout my application - so if you can help me with this I''ll be overcoming a big hurdle in my learning. Here''s the helper method; [code=]# application_helper.rb def user_photo if @user.photo? return @user.photo.public_filename(:thumb) else return
2006 Apr 15
1
Begin with Autocompleter
Hi list: I''m a young developer that need a little help with scriptaculous "Autocompleter". I work with PRADO framework (http://www.xisc.com) and PHP as a script language. Now this is a little function in JavaScript for make a AJAX call and show the results without reload the entire page. See below: 1 function makeRequest(url,element) { 2 var http_request = false; 3 if
2006 Mar 30
7
text_area
How to make that the typed code on ruby in text_area it was carried out in @params ["name"]?? -- Posted via http://www.ruby-forum.com/.