rubymine-- attempting active record sql stuff