Displaying 2 results from an estimated 2 matches for "ryenski".
Did you mean:
fenski
2006 Jan 27
9
RedCloth Hard Breaks
Has anybody gotten :hard_breaks to work with RedCloth?
I''m doing:
self.body_html = RedCloth.new(self.body).to_html(:textile)
which works, except that it doesn''t transform hard breaks to <br />
tags, which is really important for me.
However, if I do:
self.body_html = RedCloth.new(self.body, [ :hard_breaks ]).to_html(:textile)
then it converts ALL breaks into <br
2006 Jan 17
0
file_column with both root_path and store_dir
.../u/file_column_db/somebodys_account/images},
e.image
end
def store_dir_method
File.join("somebodys_account", "images")
end
This fails with:
1) Failure:
test_absolute_path_outside_rails_root(ResourceTest) [test/unit/
resource_test.rb:254]:
<"/usr/home/ryenski/sites/my_app/somebodys_account/images/tmp/
1137483590.895686.58774/kerb.jpg"> expected to be =~
</\/u\/file_column_db\/somebodys_account\/images/>.
Any ideas would be appreciated!
Thanks,
Ryan