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.
Conductor (Guest)
on 2006-03-22 03:48
Looks like Rails 1.1.0 RC1 is finally here:

http://dev.rubyonrails.org/changeset/4010
Conductor (Guest)
on 2006-03-22 04: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/
Tom M. (Guest)
on 2006-03-22 05: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 M.
Sean O'Hara (Guest)
on 2006-03-22 05: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
John T. (Guest)
on 2006-03-22 06: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
Kyle M. (Guest)
on 2006-03-22 07:00
(Received via mailing list)
On 3/21/06, Tom M. <removed_email_address@domain.invalid> wrote:
>
>    psql (PostgreSQL) 8.1.2
>
>
> >
> > Rails 1.1-RC1 announcement and instructions here:
> >
> > http://weblog.rubyonrails.org/
>
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid
> http://lists.rubyonrails.org/mailman/listinfo/rails
>

Try upgrading to Ruby 1.8.4

-Kyle
Kyle M. (Guest)
on 2006-03-22 07: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.
Rick O. (Guest)
on 2006-03-22 07:23
(Received via mailing list)
On 3/21/06, Tom M. <removed_email_address@domain.invalid> 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 O.
http://techno-weenie.net
Tom M. (Guest)
on 2006-03-22 09:10
(Received via mailing list)
On Mar 21, 2006, at 9:23 PM, Rick O. 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
Tom M. (Guest)
on 2006-03-22 09:15
(Received via mailing list)
Thanks, Rick!

--
-- Tom M.
Rick O. (Guest)
on 2006-03-23 04: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 O.
http://techno-weenie.net
Tom M. (Guest)
on 2006-03-23 08:54
(Received via mailing list)
On Mar 22, 2006, at 6:51 PM, Rick O. 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 M.
Anonymous (Guest)
on 2006-03-28 19: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.