Displaying 7 results from an estimated 7 matches for "davidr64".
Did you mean:
davidr
2006 Jul 14
7
A handful of basic Rails questions
Alright, I''ve been programming with Rails for a little while now, and I
really like what I see. I made a simple application for our clients that
need to be able to view their personal and contact information, the ports
they''re buying through our ISP, and communicate back and forth with us.
The thing is - the application is pretty messy because I have been hired as
a new
2006 Jun 16
2
News posting system without a database
I need to create a news posting system without the use of a database. I''m
going to create a file for each news post and have the view post each file
in a specific directory as HTML.
The newspost will contain:
1. A title.
2. A date.
3. The body.
In the text file, I want line 1 to be the title, line 2 to be the date, and
everything from line 3 on down to the be the body.
What method
2006 Jun 15
11
Calling all of 7 million entries
Hi everyone, David R. here; I''m new to this mailing list but I''ve been
incredibly wrapped up in Ruby on Rails for the last two or three months.
I''ve built a fully functional web application and we''re about to roll it out
to our customers. However, my supervisor would like to add just one
more feature
to it: listing the number of online users for a particular
2006 Jul 07
0
Preview Text Area
Okay, here''s something I''ve been racking my brain over for about an hour,
and I can''t seem to piece it together.
I have a form text area that the user will be typing some instructions
into. The instructions, when submitted, are sent through a grinder method
(composed of a small nest of gsubs) in my controller that rips them up and
turns all the line breaks into HTML
2006 Jul 12
1
Getting the value of a text area
I have a form where the user will type in some text in a text area. When
this form gets submitted, all of the info gets pushed into a MySQL table.
The text area in question can have HTML and special formatting. I want to
create a preview div for this.
I can use observe_field to preview the formatting as they type, but I''d
rather have it set so that they can click a "Preview"
2006 Jul 13
1
Destroy doesn''t destroy!
I''m using a MySQL server and the user my rails app is logging in as is root;
root has all permissions.
My destroy code is default scaffolding:
def destroy
Customer.find(params[:id]).destroy
redirect_to :action => ''list''
end
Why is
<%= link_to ''Destroy'', :action => ''destroy'', :id => @customer %>
not
2006 Jun 28
2
Assign CSS class to Link to Remote
I''m trying to get link_to_remote to assign a CSS class to the link it
generates. My code is as follows:
<%=
link_to_remote "Show Full Info",
:update => "fullcontact" + reparray.last.to_s,
:url => "/cm/full_contact/" + reparray.last.to_s,
:classname => "contactlink"
%>
Which produces this HTML:
<a href="#"