search for: linkscontroller

Displaying 4 results from an estimated 4 matches for "linkscontroller".

Did you mean: links_controller
2007 Feb 21
1
setting session data from a post
...ession = assigns(:session) assert_equal 7, session[:user] end My assert statement seems to be failing because my session is not showing me as being logged in. Executing break point at /Users/intention/work/idm_local/config/../lib/authenticated_system.rb:52 in `login_required'' irb(#<LinksController:0x2481fec>):001:0> session => #<ActionController::TestSession:0x24805fc @attributes={:user=>7, "flash"=>{}}, saved_attributesnil, session_id"" irb(#<LinksController:0x2481fec>):002:0> session[:user] => nil What I don''t understand is why I...
2007 Mar 28
7
Newbie problem on production server
Hi, I just installed ferret for the first time and integrated it with my app. On my dev machine it''s fine but on my production server I get this when I call find_by_contents(): Processing LinksController#results (for 24.185.105.59 at 2007-03-28 05:28:36) [POST] Session ID: 3f2dc7c17147c0e52178ba697a119833 Parameters: {"commit"=>"Search", "action"=>"results", "controller"=>"links", "link"=>{"search"=>&...
2006 Jul 21
1
RJS Failing
...error_messages_for(new_link) page.visual_effect :appear, ''new_link_error'', :duration => 0.5 page.visual_effect :highlight, ''new_link_error'', :duration => 0.5 end end ---- I''m receiving this error: # TypeError in Publish/linksController#create # ActionView::Helpers::JavaScriptProxy#to_str should return String No clue how to fix this. Any ideas? Many thanks... Greg -- Posted via http://www.ruby-forum.com/.
2007 Nov 20
2
Plugin: create instance methods dynamically in ClassMethods?
Hi all I have the following plugin code: module IncenseCrud def self.included(base_class) base_class.extend(ClassMethods) end module ClassMethods def performs_incense_crud def index list return render(:action => ''list'') end end end end In init.rb I have the following: require File.dirname(__FILE__) +