Displaying 20 results from an estimated 7000 matches similar to: "markdown call prompts "uninitialized constant ActionView::Helpers::TextHelper::Markdown" in upgraded application"
2005 Dec 16
0
auto_link fails to handle tilda''s (~) and markdown fails to handle acute accent (`)
Hi There,
So I was just having some trouble with auto_link and markdown.
Specfically auto_link was failing to handle urls with tildas in them (~)
e.g.
http://www.hawaii.edu/~name/index.html
and markdown couldn''t handle an acute accent (`) e.g.
Hawai`i
It seems that acute accents (or backticks) in Markdown signify code
segments, and it seems there''s an open ticket for this:
2006 May 15
1
Simple: How to use TextHelper in a controller
I''m having trouble succesfully getting access to the
ActionView::Helpers::TextHelper.strip_tags
method from one of my controllers.
If I try to call it directly using
ActionView::Helpers::TextHelper.strip_tags
I get
undefined method `strip_tags'' for ActionView::Helpers::TextHelper:Module
What is the preferred way to make ActionView helpers available to a
descendant of
2005 May 24
3
textilize/markdown/sanitize for messageboards, oh my!
Hullo, fellow Railsers!
(warning: this isn''t a 100% Rails specific question, but I guess it
very much applies to what a lot of us are currently doing.)
For a project that involves messageboard functionality I''m looking for
a good way of sanitizing user input, so the silly fools, err, my
wonderful users don''t mess things up too much. I''ve played around with
2006 Aug 15
0
BlueCloth throws exceptions! Be careful! (was: auto_link fails to handle tilda''s (~) and markdown fails to handle acute accent (`))
On 12/15/05, Sam Joseph <sam@neurogrid.com> wrote:
> markdown couldn''t handle an acute accent (`) e.g.
>
> Hawai`i
>
> It seems that acute accents (or backticks) in Markdown signify code
> segments, and it seems there''s an open ticket for this:
>
> http://www.deveiate.org/projects/BlueCloth/ticket/24
I would just like to bring this to
2006 Jan 02
0
problem with ruby gem activate when trying to run actionpack tests
Hi There,
so I worked out what I should be doing to try and contribute code to
rails (I''m currently working on patches for collection_select and
auto_link).
I''m following the instructions here:
http://dev.rubyonrails.org/
and have checked out actionpack. Trying to run the actionpack tests I
get this error:
D:\User\Code\ruby\actionpack\test>ruby controller/base_test.rb
2007 Jan 06
0
undefined method 'markdown'
Hello,
I''m facing a strange error.
I''m using Rails 1.1.6 and I try to use Markdown.
I''ve downloaded BlueCloth, and it is in my
RAILS_ROOT/vendor/plugins/BlueCloth_1.0.0
In my environment.rb, I have the following lines :
--
Rails::Initializer.run do |config|
config.load_paths += %W( #{RAILS_ROOT}/vendor/plugins/BlueCloth_1.0.0/lib
)
end
--
In my view, I have :
--
2009 Apr 09
4
uninitialized constant ActionView::Helpers::AssetTagHelper
Hi All,
I just wiped out my hard drive, did a fresh install of os x 10.5, and
upgraded to rails 2.3.2. i installed the mysql pkg for os x, and
created the databases i needed for the project i was working on before
the upgrade.
However when i run rake db:migrate to run my migrations i get this
error
uninitialized constant ActionView::Helpers::AssetTagHelper
I''ve found some stuff about
2008 Aug 09
0
peg-markdown (C) and rpeg-markdown (ruby gem)
Markdowners:
I've released version 0.4.1 of peg-markdown, a C implementation of
markdown. peg-markdown uses Ian Piumarta's peg/leg parser generator to
generate a parser from a parsing expression grammar (PEG). You can
inspect the grammar for markdown at
http://github.com/jgm/peg-markdown/tree/HEAD/markdown_parser.leg
peg-markdown now provides both a C library and a standalone
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with
rspec and have run into a problem that has stumped me for a few days and
I have searched google and ruby/rails forums to no avail so I really
hope somebody can help me out with this problem which I think may be
caused by a rails config problem. Anyway, I used ''rails new myapp'' to
make a new rails project and
2012 Jun 16
0
markdown gem - Markdown Engine Wrapper - Use Your Markdown Library of Choice in Ruby
Hello,
I've created a markdown gem in Ruby that lets you use your markdown
library of choice. Preconfigured markdown libraries include: kramdown,
redcarpet, bluecloth, maruku, rpeg-markdown, rdiscount, pandoc-ruby.
Usage in your Ruby code:
require 'markdown'
Markdown.new( 'Hello World' ).to_html
The gem also includes a little command line tool. Try markdown
2005 Dec 28
0
Modifying VERBOTEN_TAGS in TextHelper
Hello all,
I''m using the sanitize() method from TextHelper in my application, which
appears to use the VERBOTEN_TAGS constant to define which tags to escape
out from the HTML. I''d like to modify VERBOTEN_TAGS to include some more
tags, but I''m not sure where I would place the necessary code in my
rails app. Any ideas?
Thanks,
Kamil
--
Posted via
2009 Feb 05
0
Slide Show (S9) Gem V0.7 - Better Support for More Markdown (Ruby) Libs and More
Hello,
== What's new in 0.7?
I removed the dependency on Maruku (and Oniguruma) and now allow and
check for optional installed Markdown libraries/gems. For now the
search order for markdown libraries is first come, first serve, that
is:
rdiscount > rpeg-markdown > maruku > bluecloth (fallback, always
present because it's required in gem spec).
If you want to use
2006 Aug 10
3
Want to use a view helper (TextHelper) in a model class
I have a model that deals with HTML and I want to use the
text_helper.sanitize method to strip the HTML of Javascript.
However, it doesn''t appear that I can get easy access to the text_helper
methods from within a model.
Anyone have any suggestions for how to do this?
In general, I think that there are some ActionView helpers which are
generic enough to want to use in a model class.
2006 Oct 23
0
What does this mean -uninitialized constant ActionView Base
Full error: uninitialized constant ActionView Base::CompiledTemplates
Not sure here. I have a controller, model and views for something called
''cana'',
Howere I also have a model and a table called ''canb''.
In the show template for ''cana'' I''m attempting to do:
<% @canbs = Canb.find(:all) %>
<% for canb in @canbs %>
2006 Dec 27
4
Maruku: a better Markdown interpreter for Ruby.
Hello to all!
Maruku is a Markdown interpreter written in Ruby. It is released under the GPL.
Maruku implements the original Markdown syntax and all the
improvements in PHP Markdown Extra. Moreover, it implements some ideas
from MultiMarkdown, and adds a syntax for specifying metadata for
block elements.
Unlike Bluecloth, Maruku creates an in-memory representation of the
document tree, and this
2011 May 06
3
Reading Yaml files and getting an 'uninitialized constant ActionView::CompiledTemplates' Error
Want to load a configuration from a yaml file ala config/database.yml. I am
following http://blog.innovativethought.net/2009/01/02/making-configuration-files-with-yaml-revised/
but, I am getting uninitialized constant
ActionView::CompiledTemplates::DOMAIN_CONFIG from rails. I''ve documented my
code to make this simpler. I''m running Rails 3.0.7
I know isn''t the
2009 Jan 06
1
How to access text helper and url helper methods in model
Hi,
I want to access TextHelper and UrlHelper methods in my model so how i
am able to access it ?
I was included following helper in my model but still it is not
working? also for accessing these helper method w need to give external
reference?
E.g.
class Xyz
include ActionView::Helpers::TextHelper
include ActionView::Helpers::UrlHelper
Also
2008 Mar 06
1
Unitialized constant ActionView::Helpers::TagHelper::Set
Hi all,
I write the following test to a simple plugin
require ''rubygems''
require ''test/unit''
require File.dirname(__FILE__) + ''/../lib/meta_tags''
require ''action_view/helpers/tag_helper''
class MetaTagsTest < Test::Unit::TestCase
include MetaTagHelper
include ActionView::Helpers::TagHelper
.
2006 May 16
3
Best way to handle namespace collisions?
All,
I have a little namespace collision here. I am trying to use both
RubyfulSoup (an HTML parser - which I highly recommend by the way) and
the ActionView::Helpers::TextHelper class. Within the TextHelper class,
there''s an attempt to create a new "Tag" object. However, Tag is also
defined in the RubyfulSoup gem and it is _this_ Tag class whose
initialize method is
2006 Jul 18
4
Limiting markdown/textile
I''m using RedCloth for a forum type app. I want users to have control
over the look of their posts, but within limits. For example, I don''t
want them to be able to include images or use header tags. The RedCloth
documentation is pretty thin and I don''t feel it''s very explanatory.
I''m wondering if there''s any easy way to do this? Or do I