Rails

47 views
Skip to first unread message

hyn

unread,
Jul 10, 2011, 8:24:51 AM7/10/11
to Ohm Ruby
Is Ohm a good model to use for Rails projects?

cyx

unread,
Jul 10, 2011, 12:03:12 PM7/10/11
to Ohm Ruby
Ohm can be used with Rails, but I guess the main thing to note is that
most of us using Ohm is not using
Rails, so it might be a huge undertaking to use Ohm with Rails.

cyx

hyn

unread,
Jul 10, 2011, 12:54:35 PM7/10/11
to Ohm Ruby
Thanks. I'm actually having one problem.

I'm simply trying to extend ActiveModel::Translation in my Ohm model
but somehow Rails gives me an error with this erb code:

<%= link_to Post.model_name.human, posts_path %> # error: wrong number
of arguments (2 for 1)

If I don't inherit Ohm model, the problem goes away. Any idea why?

cyx

unread,
Jul 10, 2011, 4:58:10 PM7/10/11
to Ohm Ruby
Sorry no idea. Been off rails for more than a year now so much of what
you said is a bit alien at this point.
Reply all
Reply to author
Forward
0 new messages