This is the statement I currently have in my lifecycle for signup
activation:

   transition  :activate, { :inactive => :active }, :params =>
[ :category, :status ], :available_to => :key_holder do
      self.acting_user = self
    end

I am attempting to do an ajax request on my activation page.

How would I go about inserting a block to create an instance and  RJS
file


I believe this would normally be in the controller instead of the
model,
and look something like:

  @archcomment = ArchitectAgentComment.new   # to create instance for
my comment model

   respond_to do |format|
        format.html {redirect_to front_path(@archcomment.user_id)}
        format.js
   end

Of course, the above will not work. But I am not sure where the entry
point
would be for doing the above.

Cheers,

  Jet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to