Displaying 4 results from an estimated 4 matches for "tryhttp".
2007 Jul 11
3
Problem with Acts as Authenticated not able to logout
Hi all,
i installed Act_as_Authenticated plugin yesterday, everything seems
fine: trying out the index, divert me to the login screen, i register
and login.
but when i try http://localhost:3000/account/logout, it didn''t work,
after the action been executed, it takes me back to the index as i m
logged in.
i try to clean the localhost cookie from my firefox, and delete those
files in the
2010 Aug 18
11
When after_save isn't after the save....
I have a Production model, which represents a farmer''s crop. After
create (via after_save) I call a method that creates one or more
Supply models, which represent a week of anticipated product harvest.
After each of those are created, a class method gets called that tries
to match each new Supply with outstanding orders for the same time
period. If a match is made, a transaction (an
2008 Oct 07
6
https problems
I''m having a problem but don''t know what is causing it so I don''t know
exactly where to post, please bear with me.
I''m trying to set up https access however whenever I go to https://url_for_site
the root route renders but the url is rewritten to http://url_for_site.
The ssl request shows in the apache logs but obviously no further ssl
requests show up.
2009 Sep 25
12
uniqueness validation perplexity
I want to write a validate routine to check to enforce that a position
must be unique in a category. (In another category, it doesn''t have
to and shouldn''t need to be unique.) I write this code which works
happily for new items:
def position_in_category_not_unique
@items = Item.find( :all, :conditions => [ "category_id = ? AND
position = ?", category_id,