Rails 1.2.6 is out

Hi Railers,

1.2.6 is out : http://dev.rubyonrails.org/changeset/8197

There’s a fix for a regression in AR :

http://dev.rubyonrails.org/ticket/8713

and a security fix, see :

http://dev.rubyonrails.org/ticket/10048
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2007-6077

Official announce : [no link for the moment, put it here]

– Jean-François.

I found out the hard way. I guess some or all of the mirrors don’t have
it yet as I am getting 404’s :frowning: Seems like thats a pretty shoddy way to
update. Too bad you can’t push it to all of the mirrors before releasing
it.

-Bill

thx I will update my rails right now!

On Nov 24, 11:29 am, “Jean-François Trân” [email protected]

Jean-François Trân wrote:

Hi Railers,

1.2.6 is out : http://dev.rubyonrails.org/changeset/8197

There’s a fix for a regression in AR :

http://dev.rubyonrails.org/ticket/8713

and a security fix, see :

http://dev.rubyonrails.org/ticket/10048
NVD - CVE-2007-6077

How update from 1.2.5?

On OS X 10.4.10, I used

$ sudo gem install rails --include-dependencies

but eventually get this error

Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (OpenURI::HTTPError)
404 Not Found

No, both work. Update just removes the previous, while install keeps the
previous around. Since Rails apps let you specify which gem to use, this
can
be quite convenient.

On Nov 29, 2007 10:59 PM, Greg W.
[email protected]

Yes, both work. Greg, the problem you are hitting is not with the
command you are running, but with ruby gems and the repository problems.
I reported this a while ago thinking it was the repositories not
completely in sync with the new rails gems, but it turns out it is a
problem w/ the gem serving system as a whole. According to this post “It
should work now”, but I am getting many failures on many different gems.
Just keep running the commands and they eventually will succeed. Here is
the post
http://groups.google.com/group/ruby-talk-google/browse_thread/thread/aa4c7183300ef0a5

-Bill

Brian H. wrote:

> How update from 1.2.5?


Sincerely,

William P.

Greg W. wrote:

How update from 1.2.5?

On OS X 10.4.10, I used
$ sudo gem install rails --include-dependencies

but eventually get this error

Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (OpenURI::HTTPError)
404 Not Found

Duh. Nevermind update not install

– gw

Yay, it wasn’t me :slight_smile:

I gotta tell ya, it’s been quite a while since I’ve been such a
complete n00b: new language, new framework, new tools, complete
change in styles all at once – while trying to write non-trivial
code as a project. Fun, but the brain is a blender!


def gw
acts_as_n00b
writes_at(www.railsdev.ws)
end

I recently updated to 1.2.6 but I didn’t get ActiveResource as part of
the upgrade. I understood it was part of this release, am I wrong?

Thanks,

Daniel

Daniel M. wrote:

I recently updated to 1.2.6 but I didn’t get ActiveResource as part of
the upgrade. I understood it was part of this release, am I wrong?

Thanks,

Daniel

Just to let you know, Rails 2.0 was just released. You might want to
update to 1.2.6 first though as it appears you are in the process of
doing. This is important if you have any existing projects you’ll be
working with.

To answer your question though, did you include dependencies when you
updated rails?

ActiveResource is part of Rails 2.0

On Dec 11, 2007 7:12 AM, Daniel [email protected] wrote:

I recently updated to 1.2.6 but I didn’t get ActiveResource as part of
the upgrade. I understood it was part of this release, am I wrong?

Thanks,

Daniel


Ryan B.

Corey, I’ve been using 1.2.3 for a while and my upgrade to 1.2.6 went
very smooth, just a few deprecation notices related to some route
names.

I need to consume some resources but I don’t want to go all the way to
2.0 since some plugins are apparently making my app break. Is there a
way to get ActiveResource working with 1.2.6?

Daniel

On Dec 10, 3:52 pm, Corey M. [email protected]