[#393742] Getting the class of an object. — Ralph Shnelvar <ralphs@...32.com>

Consider;

14 messages 2012/03/06

[#393815] arcadia IDE requires tcl/tk and ruby-tk — Thufir Hawat <hawat.thufir@...>

which or where tcl and tk does arcadia require? Is this a gem which I

13 messages 2012/03/13

[#393952] What’s the best way to check if a feature/class has been loaded? — Nikolai Weibull <now@...>

Hi!

18 messages 2012/03/21
[#393953] Re: What’s the best way to check if a feature/class has been loaded? — Xavier Noria <fxn@...> 2012/03/21

Active Support has recently added qualified_const_* methods to Module

[#393954] Re: What’s the best way to check if a feature/class has been loaded? — Xavier Noria <fxn@...> 2012/03/21

Ah, that won't work in 1.8.

[#393959] Re: What’s the best way to check if a feature/class has been loaded? — Nikolai Weibull <now@...> 2012/03/21

On Wed, Mar 21, 2012 at 16:43, Xavier Noria <fxn@hashref.com> wrote:

[#393960] Re: What’s the best way to check if a feature/class has been loaded? — Xavier Noria <fxn@...> 2012/03/21

On Wed, Mar 21, 2012 at 8:17 PM, Nikolai Weibull <now@bitwi.se> wrote:

[#393961] Re: What’s the best way to check if a feature/class has been loaded? — Nikolai Weibull <now@...> 2012/03/21

On Wed, Mar 21, 2012 at 20:48, Xavier Noria <fxn@hashref.com> wrote:

[#393962] Re: What’s the best way to check if a feature/class has been loaded? — Xavier Noria <fxn@...> 2012/03/21

On Wed, Mar 21, 2012 at 9:51 PM, Nikolai Weibull <now@bitwi.se> wrote:

[#393967] Re: What’s the best way to check if a feature/class has been loaded? — Nikolai Weibull <now@...> 2012/03/22

On Wed, Mar 21, 2012 at 22:11, Xavier Noria <fxn@hashref.com> wrote:

[#393969] Re: What’s the best way to check if a feature/class has been loaded? — Xavier Noria <fxn@...> 2012/03/22

On Thu, Mar 22, 2012 at 6:15 AM, Nikolai Weibull <now@bitwi.se> wrote:

[#394154] uninitialized constant SOCKSSocket — Resident Moron <lists@...>

I am running ruby 1.9.3 on a linux box. I would like to use

10 messages 2012/03/29

[#394160] Why z = Complex(1,2) rather than z = Complex.new(1,2)? — Ori Ben-Dor <lists@...>

What's this syntax, z = Complex(1,2), as opposed to z =

14 messages 2012/03/29

[#394175] shoes no such file to load -- rubygems — Mr theperson <lists@...>

I have installed shoes to develop GUI applications but when I try and

13 messages 2012/03/29

[#394201] Can't open url with a subdomain with an underscore — Jeroen van Ingen <lists@...>

I try to open the following URL: http://auto_diversen.marktplaza.nl/

10 messages 2012/03/30

[#394222] Ruby openssl ECC help plz — no name <lists@...>

I am confused on how to properly export public ECC key. I can see it

13 messages 2012/03/31

[ANN] Rails 3.2.3 was released!!!

From: Santiago Pastorino <santiago@...>
Date: 2012-03-30 22:27:57 UTC
List: ruby-talk #394221
Rails 3.2.3 has been released!!!.

### IMPORTANT

This release changes the default value of
*config.active_record.whitelist_attributes* to true.  This change only
affects newly generated applications so it should not cause any
backwards compatibility issues for users who are upgrading but it may
affect some tutorials and introductory material. For more information
see the mass assignment section of the [ruby on rails security
guide][1]

Rails 3.2.3 also introduces a new option that allows you to control
the behavior of remote forms when it comes to `authenticity_token`
generation. If you want to fragment cache your forms, authenticity
token will also get cached, which isn't acceptable. However, if you
only use such forms with ajax, you can disable token generation,
because it will be fetched from `meta` tag. Starting with 3.2.3, you
have an option to stop generating `authenticity_token` in remote forms
(ie. `:remote =3D> true` is passed as an option), by setting
`config.action_view.embed_authenticity_token_in_remote_forms =3D false`.
Please note that this will break sending those forms with javascript
disabled. If you choose to not generate the token in remote forms by
default, you can still explicitly pass `:authenticity_token =3D> true`
when generating the form to bypass this setting.
The option defaults to `true`, which means that existing apps are
*NOT* affected.

We've also adjusted the dependencies on rack-cache and mail to address
the recent security vulnerabilities with those libraries. If you are
running a vulnerable version of mail or rack-cache you should update
both gems to a safe version. There were also some regressions in the
render method that were fixed in this version.

[1]: http://guides.rubyonrails.org/security.html#mass-assignment

### CHANGES since 3.2.2

*Action Mailer*

*   Upgrade mail version to 2.4.3 *ML*


*Action Pack*

*   Fix #5632, render :inline set the proper rendered format.
*Santiago Pastorino*

*   Fix textarea rendering when using plugins like HAML. Such plugins
encode the first newline character in the content. This issue was
introduced in https://github.com/rails/rails/pull/5191 *James Coleman*

*   Do not include the authenticity token in forms where remote: true
as ajax forms use the meta-tag value *DHH*

*   Turn off verbose mode of rack-cache, we still have X-Rack-Cache to
    check that info. Closes #5245. *Santiago Pastorino*

*   Fix #5238, rendered_format is not set when template is not
rendered. *Piotr Sarnacki*

*   Upgrade rack-cache to 1.2. *Jos=E9 Valim*

*   ActionController::SessionManagement is deprecated. *Santiago Pastorino*

*   Since the router holds references to many parts of the system like
engines, controllers and the application itself, inspecting the route
set can actually be really slow, therefore we default alias inspect to
to_s. *Jos=E9 Valim*

*   Add a new line after the textarea opening tag. Closes #393 *rafaelfranc=
a*

*   Always pass a respond block from to responder. We should let the
responder to decide what to do with the given overridden response
block, and not short circuit it. *sikachu*

*   Fixes layout rendering regression from 3.2.2. *Jos=E9 Valim*


*Active Model*

* No changes


*Active Record*

*   Added find_or_create_by_{attribute}! dynamic method. *Andrew White*

*   Whitelist all attribute assignment by default. Change the default
for newly generated applications to whitelist all attribute
assignment.  Also update the generated model classes so users are
reminded of the importance of attr_accessible. *NZKoz*

*   Update ActiveRecord::AttributeMethods#attribute_present? to return
false for empty strings. *Jacobkg*

*   Fix associations when using per class databases. *larskanis*

*   Revert setting NOT NULL constraints in add_timestamps *fxn*

*   Fix mysql to use proper text types. Fixes #3931. *kennyj*

*   Fix #5069 - Protect foreign key from mass assignment through
association builder. *byroot*


*Active Resource*

* No changes


*Active Support*

* No changes


*Railties*

* No changes


### SHA-1

* SHA-1 (actionmailer-3.2.3.gem) =3D 04cd2772dd2d402ffb9d9dbf70f5f2256c598a=
b3
* SHA-1 (actionpack-3.2.3.gem) =3D 06d51ebd0863e0075d9a3e89a2e48dcc262c4e0c
* SHA-1 (activemodel-3.2.3.gem) =3D 3f648213b88bb3695e2bce38ff823be99535f40=
1
* SHA-1 (activerecord-3.2.3.gem) =3D a9810e79d720994abbe24aded2bcb783bb1649=
b4
* SHA-1 (activeresource-3.2.3.gem) =3D 3d1de8a80122efbcf6c8b8dfc13a7ab644bb=
2ca3
* SHA-1 (activesupport-3.2.3.gem) =3D 6a63d75c798fb87d081cbee9323c46bec4727=
490
* SHA-1 (rails-3.2.3.gem) =3D 4db7e5c288f5260dc299d55ec2aad9a330b611fc
* SHA-1 (railties-3.2.3.gem) =3D 39a887de71350ece12c784d3764b7be2c6659b32

You can find an exhaustive list of changes made between 3.2.2 and
3.2.3 [here](https://github.com/rails/rails/compare/v3.2.2...v3.2.3).

Thanks to everyone for making this possible and enjoy it :).

--

Santiago Pastorino
WyeWorks Co-founder
http://www.wyeworks.com

Twitter: http://twitter.com/spastorino
Github: http://github.com/spastorino

In This Thread

Prev Next