Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rails 3.0.12 how to check what version of activerecord do i have?

Maybe it's a silly question but I need multiple primary keys in some tables something like...

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 couldn't find what activerecord version do I have

I'm using rails 3.0.12 and ruby 1.9.2p320

like image 880
Cloud1988 Avatar asked Feb 23 '14 11:02

Cloud1988


1 Answers

Run bundle show activerecord at the terminal.

like image 199
alex Avatar answered Sep 23 '22 19:09

alex