How to get rid of automatic orthography corrections?

In my template, I wrote:

<%= f.label 'GnuPlot-Anweisungen:' %>

And rails converts this label to

Gnuplot anweisungen:

How to get rid of this feature?

By the way: this behaviour is hated by german users of MS Office and the
M$ guys are unable to suppress it :wink:

Fritz T. wrote:

In my template, I wrote:

<%= f.label 'GnuPlot-Anweisungen:' %>

And rails converts this label to

Gnuplot anweisungen:

How to get rid of this feature?

You’re using the label function incorrectly, at least for Rails 2 (not
sure about Rails 3). Check the docs: the first argument is the object
ID, then the next argument is the display text.

By the way: this behaviour is hated by german users of MS Office and the
M$ guys are unable to suppress it :wink:

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Marnen Laibow-Koser wrote:

You’re using the label function incorrectly, at least for Rails 2 (not
sure about Rails 3). Check the docs: the first argument is the object
ID, then the next argument is the display text.

Oops, thanks for the hint.

Other question:
Since yesterday http://api.rubyonrails.org/ is upgraded to rails 3, but
I can’t upgrade now, since my first launching date is in about 2 weeks.

Where to find the old rails 2 doc?

Thanks!

On 30 Aug 2010, at 18:50, Fritz T. wrote:

Since yesterday http://api.rubyonrails.org/ is upgraded to rails 3,
but
I can’t upgrade now, since my first launching date is in about 2
weeks.

Where to find the old rails 2 doc?

http://www.railsapi.com/

Click the “build your custom package” link (it’s in a very small
font). Specify the Rails and Ruby version you want the docs for, click
the appropriate button (Download or Browse online), enjoy!

Best regards

Peter De Berdt

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs