Hey Arup,
what version of rails are you using?
Also have you read this:
http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html
try to google your error might help you.
all the best,
Andre
--
You received this message because you are subscribed to the Google Groups
Hello,
Can anybody please define cookies and sessions and their
differences in detail with reference to rails.
Thank you,
Praveen
--
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
I have in my erb file something like this:
%= simple_format(...) %
The generated code is wrapped within p/p. In my case, I need the
code be interpolated without this wrapping. Can this be done?
Ronald
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
This is an effect of using the simple_format method:
http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-simple_format
Returns text transformed into HTML
http://api.rubyonrails.org/classes/HTML.html using simple formatting
rules. Two or more consecutive newlines(\n\n)
If you just want to print out the bare text, you can just put that in
your
erb tag: %= my_variable %
This didn't work either, because the value of my_variable contains
simple quotes, and these had been replaced by an HTML entity denotation
(in this case, it is #39;). That's why I thought I
if you change js_unhide_idstrings.join(',') to
js_unhide_idstrings.join(',').html_safe
that should decode the entities.
On Mon, Jul 7, 2014 at 10:50 AM, Ronald Fischer li...@ruby-forum.com
wrote:
If you just want to print out the bare text, you can just put that in
your
erb tag: %=
Thanks a lot, this is the solution I was looking for!
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to
I started to build collection of awesome Ruby libraries, tools, frameworks
and software (inspired by awesome-php
https://github.com/ziadoz/awesome-php, awesome-python
https://github.com/vinta/awesome-python and frontend-dev-bookmarks
https://github.com/dypsilon/frontend-dev-bookmarks).
Do
I'm developing a Rails engine, and when debugging an error through the
default Rails error page, I find that the Application trace shows nothing,
while Framework trace and Full trace show the trace.
Is this intended for an engine?
--
You received this message because you are subscribed to the
Yes, Engines are considered part of the framework level rather than the
application level. If I developed an engine and released it as a gem, you
wouldn't want my lines littering your application stack trace, right?
Cheers,
Andy
*Andy Jeffries* Ruby on Rails, RubyMotion, jQuery Developer
Please have a look at this form:
%= form_for @data, url: data_path do |f| %
...
%= f.submit(accept, name:judgement) %
%= f.submit(reject, name:judgement) %
% end %
These buttons display accept and reject. Clicking on the first
button would pass
judgement = accept
to the
Cookies are stored key/value pairs (with other attributes such as expiry,
domain, path and ssl requirements) in the client's browser. The
specification for them is in the HTTP specification and these can
(generally) be read by backend languages such as Rails or frontend
technologies such as
On Sunday, 6 July 2014 13:29:15 UTC-5, Arup Rakshit wrote:
`except` is used when you want to use part of a relation but not
necessarily the whole thing. It's not always useful in application code,
but when dealing with generic relations it can be really useful:
On Jul 7, 2014, at 9:15 AM, Ronald Fischer wrote:
Please have a look at this form:
%= form_for @data, url: data_path do |f| %
...
%= f.submit(accept, name:judgement) %
%= f.submit(reject, name:judgement) %
% end %
These buttons display accept and reject. Clicking on the first
I get this when i type gem install rails
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: Operation timed out - connect(2) for
api.rubygems.org port 443
(https://api.rubygems.org/api/v1/dependencies?gems=rake)
i have gem installed, rails and sqlite3 all
This Message tells that you are not connected to the internet or at least
you can't reach api.rubygems.org due to firewall restrictions or missing
proxy settings. Please make sure you can connect to api.rubygems.org:80
via telnet and that you can ping it.
If that doesn't help please provide more
Actually there is a ruby gem, which allows you to create Web Components
in RoR application using Polymer
https://github.com/alchapone/polymer-rails
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
Praveen BK wrote in post #1151760:
Hello,
Can anybody please define cookies and sessions and their
differences in detail with reference to rails.
What may be confusing you, that I've not seen mentioned yet, is that
session identifiers are stored in cookies. Let me explain by looking at
The only error I could find out was looking at dmesg
[ 603.598951] init: thx4-web-1 main process ended, respawning
[ 603.607935] init: thx4-web-1 main process (3901) terminated with status 127
[ 603.607988] init: thx4-web-1 main process ended, respawning
[ 603.616866] init: thx4-web-1 main
In my local machine i had input some data into database using SQLite3 .when
i deployed it to heroku why i can't get data that i input? i'm do like this
-in Gemfile
group :development do
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'rails_12factor'
end
-bundle install
-heroku login
hi
what os did you use.
veasna
On Monday, July 7, 2014 11:42:55 PM UTC+7, Anders Lund wrote:
I get this when i type gem install rails
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: Operation timed out - connect(2) for
api.rubygems.org port 443 (
I don't think you understand the concept of databases very well.
Look on google how to use the seeds.rb file. Maybe that will help
===
*Alexandre Mondaini Calvão*
*Nossa recompensa se encontra no esforço e não no resultado. Um esforço
total é uma vitória completa*. [Ghandi]
22 matches
Mail list logo