Another example:
1) Creation of a URL by link_to when a parameter contains non-ASCII
characters
When the tag is Gemälde the generated URL is a class=tag5 href=/
items?tags=Gem%C3%A4lde
That's okay (by the way, is it necessary, do non-ASCII values in
parameters have to be encoded?).
HOWEVER,
Not in application.rb, at that point the object does not exist yet it
seems. I wonder why I don't see ANY mention whatsoever of such an
important feature like erubis preprocessing when someone writes about
Rails 3 x-times faster? Or about what it means that erubis is in
Rails 3 now? Or did I
Hello all,
Has anyone got Segmentation Fault errors with ruby 1.9.2-head on running
rails test suite? I know there was an issue with 1.9.1 but I thought 1.9.2
was preferred ruby version to use.
Anuj
--
Anuj DUTTA
--
You received this message because you are subscribed to the Google Groups
Hi all,
I'm on a rails 2.3.5 app. I've got my timezone set to 'Brussels';
config.time_zone = 'Brussels'
When I use mysql I see that a date is stored in UTC (as expected);
e.g. 2010-04-07 15:03:10
When I use console to print out the date it correctly returns;
job.created_at.strftime('%d %b
Just to finalize this thread: this (accepted, it seems) bug can now be
tracked on lighthouse:
https://rails.lighthouseapp.com/projects/8994/tickets/4336-ruby19-submitted-string-form-parameters-with-non-ascii-characters-cause-encoding-errors#ticket-4336-1
On Apr 7, 9:26 am,
If you set Time.zone during a request, you override the default value
set in config.time_zone for the length of that request. This would
explain the difference in Time.zone values between the console and the
browser.
Can you replicate this issue in a bare 2.3.5 app? If so, please file a
bug
Yeah,
Essentially, the way preprocessing works is by providing a completely
different (static) helper to Erubis at compile-time. You might think of
link_to as static (if you use it that way), but it actually does a whole
slew of request-specific things. Over time, helpers like link_to actually
Okay thanks! That saves me LOTS of time trying to find things out by
looking at the source, which is nice but which I try to avoid (since
there is so much of it to look at these days, and esp. library- and
framework code being so fragmented and full of optimizations good for
many things but not
I am new in Ruby on Rails, I am working on ubuntu10.04
I get this error when i runrake db:migrate
(in /home/mostafa/Desktop/book_tracker)
rake aborted!
uninitialized constant Encoding
(See full trace by running task with --trace)
Hope Someone can help in such matter
--
You
Hi there,
Please post on rubyonrails-talk for general Ruby on Rails-related help. This
mailing list is reserved for Ruby on Rails core issues only.
On 8 April 2010 07:44, Mostafa Sheshtawy mostafaa.shesht...@gmail.comwrote:
I am new in Ruby on Rails, I am working on ubuntu10.04
I get this
Greetings,
I've seen a couple of people ask about why core extensions in Rails 3 are
now extensions to the class. I haven't had or heard of a clear enough answer
so I tend to steer away. Until today.
Toby Tripp tweeted the following:
http://twitter.com/tobytripp/status/11793190224.
I think this
It's working on latest master code, which rails and ruby version are you
using?
The proper behavior is something like this:
irb(main):005:0 p = Post.first
= #Post id: 1, title: Test, created_at: 2010-04-06 02:33:28,
updated_at: 2010-04-06 02:33:28
irb(main):006:0 p.title = Test changes
= Test
12 matches
Mail list logo