Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"column" and "key_attribute" ask for 'type' argument #1

Open
geraudmathe opened this issue Apr 9, 2012 · 2 comments
Open

"column" and "key_attribute" ask for 'type' argument #1

geraudmathe opened this issue Apr 9, 2012 · 2 comments

Comments

@geraudmathe
Copy link

Hi,

When I define a key_attribute or a column in my models , that throw an error cause i'm not giving the 'type' argument , but i cant see what sort of type argument it corresponds to ? Your screencast didnt help me more about it . Could u give me some more infos about this 'type' argument ? Txs

@geraudmathe
Copy link
Author

using rails 3.2, cassandra 1.0.9

@cmaxw
Copy link
Owner

cmaxw commented Apr 13, 2012

It takes a symbol. I currently don't have the typing implemented. I'd like to do the conversions after pulling from cassandra. (For example, specifying :integer would call to_i on the string I get back from Cassandra and give you an integer back.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants