Polymorphic association with Active Admin

I have a belongs_to polymorphic association and I don’t know how to
create and edit my models of that relationship with active admin.

If anyone can help me, please do.

Thank you,
Rodrigo

You could check the comments.rb implementation that activeadmin ships
with. Look in de activeadmin gem itself;

On my installation i would look in
~/.rvm/gems/ree-1.8.7-2011.03/gems/activeadmin-0.3.2/lib/active_admin/comments.rb

Check also this link:
https://github.com/gregbell/active_admin/blob/master/lib/active_admin/comments/comment.rb

Good luck

How to implement the chatting application in rails3 using Juggernaut
server

I am using rails3 and juggernaut server but i run the code that shows
the error is Undefined “session id”.
Please tell me the solution for this problem.

On 1 December 2011 15:41, Vivek D. [email protected]
wrote:

I am using rails3 and juggernaut server but i run the code that shows
the error is Undefined “session id”.
Please tell me the solution for this problem.

I think you will have to provide more information. Post the full
error message and stack trace and if the error is occurring in your
code then the code around the failure.

First though look carefully at the details of the message, often there
are clues there if you look closely enough.

Colin

Did you even bother to read the documentation?

Dheeraj K.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs