search for: applycontrol

Displaying 2 results from an estimated 2 matches for "applycontrol".

Did you mean: appcontrol
2006 Apr 21
0
model modules
...not getting any errors saying "Objects where the class definition wasn''t available..." as mentioned in the book. 2. The book says I must tell the controller which models to load, but how do you do that with a model in a module? I presume like this: class Activities::Programs::ApplyController < ApplicationController model ''prod_record/pgm_update/client'' ... But without any feedback I cannot tell if I am doing it right. Can anyone help? Can I get an example of a modularized model that I can look at? -John -- John Smilanick Computing Staff - Webmaster Kav...
2013 Apr 12
0
Rails Log user in after view rendered
...) %> </div> </div> <!-- Try to Sign in User --> <% priv_sign_in %> <% end %> This code is because. If the user applies the @user info is filled in but he can only be logged in after this part of the view is generated. In my applycontroller create I have the following to do priv_sign_in: # Helpers helper_method :priv_sign_in # Sign in User from View private def priv_sign_in sign_in(@user) end Is there any better way to do is. So in an effort to make things more clear. When I enter the...