similar to: Displaying line breaks & paragraphs using 'simple_format' ?

Displaying 20 results from an estimated 10000 matches similar to: "Displaying line breaks & paragraphs using 'simple_format' ?"

2003 May 05
6
IAXTEL toll-free gateway
I have been playing around with asterisk for a week or so now and haven't had too much trouble getting things to work but one thing seems to puzzle me. I have been patient hoping that there was a configuration error on the server or that the toll-free gateway was down but nothing has changed. I have the following configuration context for IAXTEL: [iaxtel] exten =>
2008 Jul 26
4
simple_format, (long) urls, and wrapping
I''m using simple_format to format and display posted content from users. This content sometimes has urls in it. The problem I''m having is that if the urls are long enough to wrap, they do, but the url gets split with a <br> tag. Then, if the user clicks on the link, only the first, non-wrapped part of the link gets posted to the browser... and that''s an invalid
2005 Feb 15
2
Ser 0.9.0 adding a user?
I get this when adding a user in ser (using serctl) root@brak sbin]# ./serctl add +18165551212 blahblah blah@blah MySql password: error: 400; check if you use aliases in SER Um error 400?? I'm lost. no docs, frustrated. venting. Matt
2006 Jan 04
2
simple_format and in_place_editor_field
Hi! How can i do to force an in_place_editor_field to format the text with simple_format while not editing? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060104/bbd141a2/attachment.html
2008 May 29
4
ruby's simple_format method is not working for spaces.
Ruby''s simple_format method is not working for spaces. so how to add and what to add in simple format method code so it also work for spaces? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2008 Jan 22
4
newlines in text_area
Hi @ all I would like to enter a text with a text_area into the database. It runs excellent. But when I want to show the entered text in the show view, all newlines (paragraphs) are deleted and the text is only one block. How can I save the returns (newlines) too? Thanks for helping!! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received
2007 Jun 27
3
acts_as_tree and before_save
We all know that acts_as_tree gives us ability to set up data in a tree-like structure and use methods like ''parent'', ''children'' and so on. Something I''m completely stuck on. Observe. class Page < ActiveRecord::Base acts_as_tree def before_save raise self.parent.to_yaml end end Well, you''d think that it should show
2009 Mar 26
0
reverse of simple_format?
Hello! Is there a way to reverse the TextHelper simple_format? I.e. to take some text with <p> tags and <br> tags and convert them into line breaks in a smart way? (smarter than just a regexp that is). TIA! -Danimal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2010 Nov 09
2
help cannot put multiple chart Stacked Bar (from PerformanceAnalysis library) in a single plot
Hi I'm having problems displaying multiple chart.StackedBar from PerformanceAnalysis library on a single plot. I've tried using par(mfrow=c(2,1)) but that doesn't work. If I do it with barplot(), it works fine and I see both plots on a single plot. > plot(mfrow=c(2,1)) > barplot(blahblah) > barplot(blahblah) However if I try to use chart.StackedBar, the second entry
2004 Dec 08
2
Serving a playlist.pls / listen.m3u file
Hi - I've heard that Icecast provides a fake "playlist file" along the lines of http://blahblah:8000/listen.m3u or http://blahblah:8000/playlist.pls because Quicktime can't seem to handle the stream without a playlist file to wrap it up. (There may be other reasons.) However, I can't seem to find any documentation about this, and guessing various URLs on my icecast2.0.1
2012 Sep 10
1
smbd starts but terminates with - failed to receive smb request
Hello, I start smbd interactively from the command line and then attempt to issue an smbtree command from another terminal and smbd immediately terminates. Here is the output. It looks like the initial authentication is working, but the termination happens after "string_to_sid: SID root is not in a valid format" Any idea what might be going on here? Thanks [root]#
2004 Dec 09
0
Can asterisk accept cleartext auth (uri user:pass) via SIP
Does anyone know if Asterisk can accept cleartext auth (SIP), as in it recv's a call destined to: 1234:blah@har.har.com The problem I'm having is simply for faxing, normal calls come in as g729 and of course we need ULAW for faxes. sip.conf snippet [sipfarm] insecure=very host=blahblah.netlogic.net type=peer context=sip-out username=+18165551212 secret=blah canreinvite=no disallow=all
2010 Mar 31
3
regular expression help to extract specific strings from text
Dear all, Lets say I have the following: > x <- c("Eve: Going to try something new today...", "Adam: Hey @Eve, how are you finding R? #rstats", "Eve: @Adam, It's awesome, so much better at statistics that #Excel ever was! @Cain & @Able disagree though :(", "Adam: @Eve I'm sure they'll sort it out :)", "blahblah") > x [1]
2013 Oct 06
2
retr errors
My ISP uses Dovecot and I have had an ongoing problem for a while using several email clients. Sometimes the response to a retr request is mal-formed. The expected response "+OK nnn octets" is not returned. The response looks like it started somewhere in the message headers. Sometimes a retry can clear the problem but I usually need to delete the first message via a putty session.
2011 Mar 23
1
using R variables in RMySQL query
I have the following function myGetstockdataMySQL <- function(startdate, enddate, ticker) { con <- dbConnect(MySQL(), user="blahblah", password="blahblah", dbname="blahblah", host="localhost") rs <- dbGetQuery(con, "SELECT price.close FROM price INNER JOIN stocks ON stocks.stock_id=price.stock_ID WHERE (price.date_holding BETWEEN
2023 Mar 07
1
Feature request: a good way to supply short-lived certificates to openssh
On Tue, Mar 7, 2023, at 3:25 AM, Rory Campbell-Lange wrote: > On 07/03/23, Darren Tucker (dtucker at dtucker.net) wrote: >> On Tue, 7 Mar 2023 at 05:26, Andy Lutomirski <luto at kernel.org> wrote: >> [...] >> > ssh_config contains a Match ... exec [command to refresh the certificate]. >> > This sort of works, except that it runs the command far too
2006 Apr 15
3
Dumb newbie question - text formatting?
I have a MySQL "text" element that I''m trying to display, but it''s not formatting (i.e. it''s all one big paragraph). In the AWD depot example it doesn''t look like they do anything special, but they get formatted text. I''ve tried it with both: <%= show.description %> - puts text, and formats according to any HTML tags I typed in.
2007 Jan 16
2
Using view helpers in migrations?
I''m writing a bloggish/CMSish thing. I had been using simple_format, but my users requested a rich editor, so I added TinyMCE. Anyway, I was trying to migrate the existing content (since TinyMCE assumes it''s reading HTML-formatted text), and realized that I couldn''t call simple_format (or other helper methods) from Migrations. Can someone enlighten me here?
2012 Sep 28
2
iscsi confusion
I am confused, because I would have expected a 1-to-1 mapping, if you create an iscsi target on some system, you would have to specify which LUN it connects to. But that is not the case... I read the man pages for sbdadm, stmfadm, itadm, and iscsiadm. I read some online examples, where you first "sbdadm create-lu" which gives you a GUID for a specific device in the system, and then
2012 Jun 18
3
Paragraphs and html integration.
Hello everyone. It seems that I can post to the list now. Great. [1] I'm new to this list, and I've subscribed to discuss a design matter. Indeed, I'm currently writing a WebDev Toolkit in PHP for making the creations of simple websites and web applications quicker and easier (I'm fully aware that this kind of thing already exist, let's just say I'd doing it my way,