Ruby on Rails Tuesday, November 1, 2011

Hi,

I am following the instructions given in the link
"http://mutoumahendra.blogspot.com/2010/07/tinymceplugins-spellchecker-on-rails.html"
for doing spell check.

The problem I am facing here is, I am not able to run
`echo "#{spell_check_text}" | aspell -a -l #{lang}` command while
executing command. When I execute the method the above command is
returning blank.

My question is How to run echo "statement" in rails.

In command prompt I am able to run the echo using exec 'echo blah blah'.

Cheers,
Rana.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment