Forum: Ruby on Rails Rails-1.1.0-RC1 tagged today (4010)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
33f6489e87c276e0fe8a974e51c03b57?d=identicon&s=25 Conductor (Guest)
on 2006-03-22 02:48
Looks like Rails 1.1.0 RC1 is finally here:

http://dev.rubyonrails.org/changeset/4010
33f6489e87c276e0fe8a974e51c03b57?d=identicon&s=25 Conductor (Guest)
on 2006-03-22 03:13
Conductor wrote:
> Looks like Rails 1.1.0 RC1 is finally here:
>
> http://dev.rubyonrails.org/changeset/4010

Rails 1.1-RC1 announcement and instructions here:

http://weblog.rubyonrails.org/
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-03-22 04:05
(Received via mailing list)
I've not been on edge at all.

In my app directory I did

   rake freeze_edge
   rake rails:update
   svk status (showed *only* vendor/rails, no updated scripts)
   rake

And I get a ton of errors, which break down to two, actually:

NoMethodError: undefined method `scoped_methods=' for Buyer:Class
NoMethodError: undefined method `clear_connection_cache!' for
ActiveRecord::Base:Class

Details:

   ~/Sites/sofarails: ruby --version
   ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0]

   ~/Sites/sofarails: psql --version
   psql (PostgreSQL) 8.1.2
   contains support for command-line editing

   ~/Sites/sofarails: ls vendor/plugins
   rails_cron_0.2.2        rails_tidy-0.1          rav
textmate_backtracer-1.1

Dependencies:

   require 'creditcardverifier'
   require 'digest/sha1'

   require_gem 'acts_as_paranoid'
   require_gem 'acts_as_taggable'
   require_gem 'acts_as_versioned'
   require_gem 'money'
   require_gem 'payment'
   require_gem 'sentry'

This is Mac OS X 10.4.5 (PPC)

Any ideas?

--
-- Tom Mornini
9dbe5b9021bf8477a3b7e747b44bde48?d=identicon&s=25 Sean O'Hara (Guest)
on 2006-03-22 04:39
(Received via mailing list)
Hi,

I followed the install instructions on blog (gem install rake, gem
install rails --source http://gems.rubyonrails.org) . When I query
'rails --version' I get 'Rails 1.0.0'. I am using os x 10.4.5 ppc and
darwin ports. At first I couldn't get rails to install (rake didn't
understand the --source option). There was a rake in /usr/bin so I go
rid of that and made an ln from the /opt directory. So the install
worked but rails doesn't appear to be updated. I assume there's an
updated version in my drive, but if anyone has any ideas about how to
get the new version to be the one that gets invoked please let me know.

Thanks,
Sean
B07c187ac858535358faa9365b66e657?d=identicon&s=25 John Tsombakos (Guest)
on 2006-03-22 05:41
(Received via mailing list)
I followed the directions and the 'rails --version' command also
reports 1.0.0. I'm guessing they're not going to up the version number
until it's final.

I tried some of the new goodies, listed here:

<http://scottraymond.net/articles/2006/02/28/rails-1.1>

and they work. The new .average, .sum, and .group calculations are nice!

jt
4bd34a2216dc8bdbf1f017f64e4d59e8?d=identicon&s=25 Kyle Maxwell (Guest)
on 2006-03-22 06:00
(Received via mailing list)
On 3/21/06, Tom Mornini <tmornini@infomania.com> wrote:
>
>    psql (PostgreSQL) 8.1.2
>
>
> >
> > Rails 1.1-RC1 announcement and instructions here:
> >
> > http://weblog.rubyonrails.org/
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

Try upgrading to Ruby 1.8.4

-Kyle
4bd34a2216dc8bdbf1f017f64e4d59e8?d=identicon&s=25 Kyle Maxwell (Guest)
on 2006-03-22 06:02
(Received via mailing list)
> >    ~/Sites/sofarails: ruby --version
> >    ruby 1.8.4 (2005-12-24) [powerpc-darwin8.3.0]

> Try upgrading to Ruby 1.8.4

Apparently I missed that.... But i was getting the same errors, and an
upgrade to 1.8.4 was my fix.
821395fe70906c8290df7f18ac4ac6cf?d=identicon&s=25 Rick Olson (Guest)
on 2006-03-22 06:23
(Received via mailing list)
On 3/21/06, Tom Mornini <tmornini@infomania.com> wrote:
>
>    psql (PostgreSQL) 8.1.2
>
>
> >
> > Rails 1.1-RC1 announcement and instructions here:
> >
> > http://weblog.rubyonrails.org/

Tom,

Please upgrade to the plugin versions of acts_as_paranoid, versioned,
and sentry.  I've quit updating the gems because plugins integrate
well with rails.  rails 1.1 added nested scopes which makes some of
the hackery in acts_as_paranoid unnecessary (which is why you're
seeing those messages).


--
Rick Olson
http://techno-weenie.net
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-03-22 08:10
(Received via mailing list)
On Mar 21, 2006, at 9:23 PM, Rick Olson wrote:

> Please upgrade to the plugin versions of acts_as_paranoid, versioned,
> and sentry.  I've quit updating the gems because plugins integrate
> well with rails.  rails 1.1 added nested scopes which makes some of
> the hackery in acts_as_paranoid unnecessary (which is why you're
> seeing those messages).

Thanks to Rick's help, I've gotten past that problem.

However I was using the acts_as_taggable gem, but it seems that there's
now a acts_as_taggable plugin that has several advantages, so I took
this
opportunity to switch as I've not implemented tagging yet.

I added a new migration to create (and drop) the new tag and taggings
tables (got the info from the Wiki and later confirmed against Rails
Recipes)

Now I cannot migrate:

~/Sites/sofarails: rake --trace db:migrate
(in /Users/tmornini/Sites/sofarails)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Unknown key(s): polymorphic
/Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/
lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/
active_record/associations.rb:519:in `belongs_to_without_reflection'
(eval):5:in `belongs_to'
/Users/tmornini/Sites/sofarails/config/../vendor/plugins/
acts_as_taggable/lib/tagging.rb:3
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/
lib/active_support/dependencies.rb:149:in `require'
/Users/tmornini/Sites/sofarails/config/../vendor/plugins/
acts_as_taggable/init.rb:4:in `load_plugin'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/
initializer.rb:348:in `load_plugin'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/
lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/
initializer.rb:348:in `load_plugin'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/
initializer.rb:158:in `load_plugins'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/
initializer.rb:158:in `load_plugins'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/
initializer.rb:102:in `process'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/
initializer.rb:42:in `run'
/Users/tmornini/Sites/sofarails/config/../config/environment.rb:10
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/activesupport/
lib/active_support/dependencies.rb:149:in `require'
/Users/tmornini/Sites/sofarails/config/../vendor/rails/railties/lib/
tasks/misc.rake:3
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:232:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:202:in `invoke'
/usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:209:in
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:844:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:208:in
`invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:201:in `invoke'
/usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:195:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1719:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/bin/rake:7
/usr/local/bin/rake:18
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-03-22 08:15
(Received via mailing list)
Thanks, Rick!

--
-- Tom Mornini
821395fe70906c8290df7f18ac4ac6cf?d=identicon&s=25 Rick Olson (Guest)
on 2006-03-23 03:53
(Received via mailing list)
> lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'
> /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/
> active_record/associations.rb:519:in `belongs_to_without_reflection'
> (eval):5:in `belongs_to'

Look at those paths:  you have one from vendor/rails/activesupport,
and another from the activerecord gem.  You're having an issue w/ one
of your plugins probably.

The acts_as_taggable plugin in the rails svn is not the same as the
gem. The gem uses habtm joins, while the plugin uses has_many :through
and polymorphic joins.  They're by two different authors and aren't
meant to be compatible really.

Just a heads-up.

--
Rick Olson
http://techno-weenie.net
59de94a56fd2c198f33d9515d1c05961?d=identicon&s=25 Tom Mornini (Guest)
on 2006-03-23 07:54
(Received via mailing list)
On Mar 22, 2006, at 6:51 PM, Rick Olson wrote:

>> lib/active_support/core_ext/hash/keys.rb:48:in `assert_valid_keys'
> and polymorphic joins.  They're by two different authors and aren't
> meant to be compatible really.
>
> Just a heads-up.

Thanks for the eyes on the path, Rick.

I know the acts_as_taggable difference, and have decided to go with
the polymorphic version (plugin)

I resolved the problem by removing the 1.0 gems, and installing the
1.1 gems.

I'm not really clear why rake freeze_edge is broken. Isn't it
supposed to lock up the Rails version independent of the gems?

--
-- Tom Mornini
009c581be96c1c9a2da7da4741c9580b?d=identicon&s=25 Anonymous (Guest)
on 2006-03-28 17:04
(Received via mailing list)
Hi I just updated to Rails 1.1 but when I try the "rake rails:update"
command I get this error "rake aborted! no rakefile found looking in ...
" My rails version is 1.1 but rake is not working. Anyone know what Im
doing wrong. Im on XP and running Instant Rails. Thanks,

J
This topic is locked and can not be replied to.