Displaying 4 results from an estimated 4 matches for "ohnstad".
Did you mean:
johnstad
2009 Mar 02
3
Truncate function and html tags
I have a text field in the db for the body of user posts. Users
submit the posts using the tinymce editor, which allows certain html
tags. The posts are stored in the db with allowed html tags directly
in the post, so I could have something like:
<p>This post will try to eliminate the confusion regarding rails and
the truncate function.</p>
I am trying to display the first 300
2007 May 09
3
flash CSS styling
I realize this is a CSS question, and not a rails question, so forgive
the off-topicness, but I thought rails users might have some
experience with this...
In my app I typically set one of two flash messages to inform users on
the sucess/failure of their actions. Ethier flash[:message] or
flash[:error] will be set. I want this to appear in the same place as
part of my site layout every time, so
2007 Sep 05
1
gsub question, not a regex question...including part of the original in the sub...
Hi all,
I''ve got a simple bulletin board type of code in part of my
application, and I want to implement phpbb-like tags for users to add
to posts. I strip HTML out of the posts, of course. I can handle
things like [b] => <b> with a simple gsub, but there''s one that is
throwing me for a loop. I want users to be able to quote other users,
and have the quoted text show
2008 Apr 25
6
ActionMailer
Hi all,
I need a help. I have got a user registration form, where the user signs
up and then an activation link is sent to the user email id for
activating his/her account. Now I need to send an another email to the
user, only after he logs in for the first time in my site, then the
second email should be sent. Can anybody give me some suggestion on how
to do it ??
NB: When the user clicks on