Displaying 20 results from an estimated 400 matches similar to: "clarify"
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
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
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
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.
2007 Oct 01
3
stringify_keys!
I have seen this numerious times and still have no idea what it means:
undefined method `stringify_keys!'' for "blah22":String
I am tring to change a password. My code looks like:
def change_password
@user = User.find_by_emailaddr( params[:email] )
if @user.nil? # user profile not created
flash[:notice] = "<b style = \"color:red\">No such
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
2020 Jul 30
2
Status of CUDA 11 support
Hi,
I work in a large CUDA codebase and use Clang to build some of our CUDA code to improve compilation speed. We're planning to upgrade to CUDA 11 soon, and it appears that CUDA 11 is not yet supported in LLVM.
>From the LLVM commits history, I can see that work on CUDA 11 has started. Is this currently being worked on? What is the remaining work left? And is any help needed to finish
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
2007 Jul 22
2
undefined method `stringify_keys'
Hello
I have a view for user registration but when i try to view this page i
get this error:
undefined method `stringify_keys'' for "username":String
Here''s my registration.rhtml:
<% form_tag :controller => :user, :action => :register do %>
<fieldset>
<label for="username">Username>/label><br/><%= text_field_tag
2005 Dec 22
3
NewbieQ : undefined method `stringify_keys!'' Dumb Question
Hi,
I''m running round in circles again! I''m trying to save a note that has a
HABTM relationship with a job. The note is new - the job exists.
In my partial for notes I have ;
<%= start_form_tag :action => ''new_note'', :id => @job %>
<%= text_area_tag "note", nil, :size => "65x10" %>
<%=submit_tag
2006 Apr 17
6
acts_as_taggable confused
Ahoy,
So i''ve installed the acts_as_taggable module and everything is fine,
but i''m a bit confused about this bit of code described in the API
"photo = Photo.new
# splits and adds to the tags collection
photo.tag "wine beer alcohol"
# don''t need to split since it''s an array, but replaces the tags
collection
# trailing and leading
2006 Mar 27
1
HTML parser
Hi ,
I am currently using xapian with plaintext parsr (i think) to get output on
konsole itself.
How it cud be possible get that output on the/as the html page or xml page
Thank You.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20060327/dbe044f3/attachment.htm
2010 Sep 17
9
invalid content-Length ERROR while uploading 2 GB of stream
hi all,
When Trying to upload 2GB of stream i got invalid content length
error
am running Apache as frontend server to mongrel and chrome as my
browser.
One more thing one i do it with mongrel alone am able to upload this 2
GB of stream ,cud anybody tell me whats the problem and how do i
configure content length in apache??
--
Posted via http://www.ruby-forum.com/.
--
You received this
2009 Oct 22
19
undefined method `stringify_keys!' for "":String
i have an error
undefined method `stringify_keys!'' for "":String
my view is given below
<%= form_tag :action => ''resolve_create'', :resolve => @resolve %>
<p>resolution:<br />
<%= text_area ''resolve'',''content'', :cols => 40, :rows => 12 %></p>
<%= submit_tag
2006 Jan 21
1
HELP: NoMethodError (undefined method `stringify_keys!'' for
We have a flash developer who is intergating with a rails application
when
he posts a particular variable (in this case ''rating'') We get a ''Rails
Application
Error'' Trawling the production log turns up this error;
NoMethodError (undefined method `stringify_keys!'' for "10":String):
The html wireframe has no such problem. A select box is
2006 Oct 25
1
Help with a select_tag; getting an undefined method `stringify_keys' error
Hi,
I''m trying to use a select_tag in the following manner:
<%= select_tag(:received_at, @select_dates, String(params[:received_at]) ) %>
But I get this error:
undefined method `stringify_keys'' for "":String
Removing the third parameter eliminates the error, but I was hoping
that the drop-down list will select whichever string in the drop-down
list matches
2006 Nov 20
1
undefined method `stringify_keys!' for "4":String - Meaning of this?
Hi, I have the following on a view
<% for evaluation in @evaluations %>
<td><%=h evaluation[0].name %></td>
<td><%=evaluation[1].object_id %></td>
<td><%= link_to( "Start", :action =>''evaluatie'', :id =>
evaluation[1].object_id) %></td>
<%end%>
When I click on the link, I can see that
2007 Dec 06
3
number_to_currency
I am using the number to currency function because i live in the uk and
the company want me to only show values of the pound of course.I have
created all my application using ruby script/generate
scaffold_resource.... I have come across with a problem... this code is
in my applcation:
def number_to_currency(number, options = {})
options = options.stringify_keys
precision, unit, separator,