Rails 3.0.12 how to check which version of activerecord I have?

Maybe this is a stupid question, but I need some primary keys in some tables, for example ...

create table t1 ( id int not null id_something int not null . . . primary key (id, id_something) ) 

I googled and I found this gem http://rubygems.org/gems/composite_primary_keys

but I could not find that I have an activerecord version

I use rails 3.0.12 and ruby ​​1.9.2p320

+7
ruby-on-rails-3 rails-activerecord
source share
1 answer

Run bundle show activerecord in the console.

+20
source share

All Articles