Displaying 20 results from an estimated 2000 matches similar to: "textilize with --- (3 dashes) removes text"
2006 Mar 25
2
Textilize problems with line breaks
I''m having a problem formatting some text. I have a textarea that I
input my text into, which will then be put into an e-mail and sent out.
The problem I am having is when there is a single line break.
Multiple line breaks work fine (hitting enter twice), but single line
breaks don''t seem to work properly.
Take the following input:
Line1.
Line2.
Line3.
Line4.
Using
2005 Dec 21
8
textilize - redcloth
Hi,
I''m using textilize with redcloth 3.0.4. Everything works best except
that paragraphs are not translated as an HTML paragraph
When I write something like:
*first paragraph*
second paragraph
the output is without paragraph:
*first paragraph*
second paragraph
Any help??? Thanks
Jörg
2006 Mar 10
2
textilize != RedCloth.new ?
For me, textilize(stuff) produces nasty stuff - <br>''s instead of
enclosing <p>''s and some closing <h*>''s are missing. RedCloth.new(stuff)
works fine though. Isn''t textilize supposed to produce the same output?
Or do I need to tweak something?
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Apr 25
4
redcloth poblems
Hi, I''m having some problems with redcloth(3.0.4 gem) and textilize.
I have a string:
"h2. hello
_what''s up?_"
which is being textilized as:
<h2>hello<br />
<em>what’s up?</em></h2>
so no paragraph and h2 wrapped all the way.
the input is coming from firefox 1.5.2 on a mac
Anybody got any idea what the problem might be?
--
2005 Dec 24
2
Textilize on ajax update
I''m writing a basic to-do
application. I''m using a form_remote_tag to submit the entry to my
controller, which then returns the entry to be displayed in the table
of to-do items. However, I''d like to be able to "textilize" the entry
without having to reload the page. Is there any way to have my ajax
function textilize the text before displaying it in the list?
2006 Apr 28
6
SSL and url_for
Hey, all!
I''m having a url problem that seems like I''m going to overcomplicate
it if I don''t just ask what I''m doing wrong...
My situation is that I''m testing to see if a visitor is accessing a
controller via SSL, and if not, redirect to the same controller via my
secure address. This really only amounts to replacing http with https,
and so I did the
2008 Mar 15
8
Now what?
> $ rake test
> /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/
> rake-0.7.3/lib/rake/rake_test_loader.rb" "test/test_formatters.rb"
> "test/test_parser.rb"
> Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/
> rake_test_loader
> Started
>
2009 Feb 26
2
rails spell check
Is ruby on rails supports aspell spell check ?
Is there any links for spell check for rails application ?
All links I gone through are discussing about php but not ruby on
rails?
Plzzzzzzzzzz give me reply ....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2006 Jul 01
3
Where to solicit bids on RoR project?
Where is the best place to solicit bids on a mid-size web app? (budget
~$15,000) What is the appropriate protocol for posting RoR RFPs?
Thanks!
Taylor
--
Posted via http://www.ruby-forum.com/.
2006 Mar 25
4
the textilize method
I saw the guy in the 15 min blog video calling a method called textilize
however when i call it rails says it cant find this method. Is this
somehting extra i have to install to ruby... like a gem or somehting
--
Posted via http://www.ruby-forum.com/.
2005 Mar 01
4
PostgreSQL Schema and Rails
Hey all,
I am curious about how Rails interacts with SCHEMAs in PostgreSQL. From
the generate command, is it possible to setup a scaffold for a table not
in the public. schema in PostgreSQL?
As a test, I tried,
./script/generate scaffold Manage.Form Manage.Form
No dice.
Any suggestions?
-Robby
--
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON
2006 Apr 28
3
Handling errors - incorrect value entered in url...
I have many "edit" actions in my project. If the url is like
http://localhost/project/3/edit and someone enters
http://localhost/project/3333333/edit the edit action will fails because
it cannot find a project with id of 3333333.
To combat this I am adding to every action like edit:
rescue
redirect_to :action => ''index''
flash[''errors''] =
2007 Dec 05
2
some redcloth questions
1) Is there a way to strip a redcloth string of all redcloth tags? I
need to display a snippet of the text in an index page and want all
markings removed. I used RedCloth.new(''a'').methods but didn''t find
anything appropriate. For now, I''m converting to html then stripping
tags.
2) what''s the best practice in term of storing user''s redcloth-
2006 May 01
7
ActiveRecord and Database Views
Hiall,
If I have say 10 tables that i would like to wrap up in 1 view to
manipulate data inside these tables, do I then need 10 model.rb files
for all 10 tables plus 1 for the view, or do I just need 1 model.rb
file for the view ?
cheers
Martin
2006 Jan 11
6
UK Rates for RoR Contract work?
Hi all,
I''ve been offered a short-term contract here in the North of England -
around 3 months work, but with RoR I think it will take considerably
less time - and am just curious what market rates were right now.
I''ve been offered a little under ?1k/week which seems ''right'' for a PHP
coder doing this kind of work, but should I be hitting for more, or is
2005 Nov 23
8
Compiler OR Obfuscator for RoR applications?
Hi folks,
I''m a newbie in the Ruby land, The Ruby language and RoR looks really
great but I think in my situation there is a problem, we are an ISV
that sells web application and we don''t want our clients see our
source code, I searched the web but couldn''t find any way to compile
and\or obfuscate ruby code (in web (RoR)), is there such tool
available for the language?
2009 Feb 19
5
creating virtual hosts with Mongrel?
Does anyone know how to use Mongrel to create virtual hosts? My
production site will have all kinds of domains pointing to it, and I
also need to figure out how to do subdomains. Rails should react to
the host name, doing a lookup based on the name and pull different
records from the database based on this.
For example, I''d like www.mysite.com to point back to 127.0.0.1:3000,
and the
2006 Apr 29
2
nuby migration question -- data migration, MySQL => postgresql
How do I best migrate the data? For small databases I can text-edit the dump file from
MySQL. The postgresql compatibility switch doesn''t help on mysqldump. Any ideas. Can
MySQL export CSV that postgresql can import ?
W Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious
about how Ruby Web Dev was done prior to rails. Any veterans want to
share their insights?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 Apr 28
2
validates* gives me problems
Hi,
In Debian/testing (mysql-5.0.20, ruby1.8, rails 1.1.0)
Im trying to follow up the fourdaysonrails tutorial, and when putting:
validates_uniqueness_of :category, :message => "Already exists"
in /myapplication/app/model/category.rb
I get:
NoMethodError in Categories#create
undefined method `category'' for #<Article:0x407f6418>
RAILS_ROOT: