search for: start_controler

Displaying 3 results from an estimated 3 matches for "start_controler".

Did you mean: start_controller
2006 Jul 31
2
The error occured while evaluating nil.gsub!
#{RAILS_ROOT}/app/controllers/start_controller.rb:13:in `create'' --- class StartController < ApplicationController def create #------------Remove Tag--------------------------- @name = params[:name] @file = params[:filepath] @file = @file.gsub!(/^.*(\\|\/)/, '''') # replace html tags with blank post = Post.save(@params["removetag"]) end end --
2006 Jul 25
3
problem with *.foobar.com urls
I am using Apache2.2 + mod_proxy_balancer + mongrel setup and my mongrel.conf file(for apache is like this) 2 3 <Proxy balancer://mongrel_cluster> 4 BalancerMember http://127.0.0.1:9000 5 BalancerMember http://127.0.0.1:9001 6 BalancerMember http://127.0.0.1:9002 7 </Proxy> 8 9 <VirtualHost *> 10 ServerAdmin rags at
2006 Apr 04
5
getting the value of a form select
...take care of changing the client''s ID in the session then returns the control to the list action. My problem is that when I try to output the value stored in the session, I get anything but what I expected... What am I missing? the simplified version of my code goes like this: ------START_CONTROLER------- class SpecificController < ApplicationController def list @active_client = session[:active_client] @clients = Client.find_all.collect {|c| [ c.name, c.id ] } end def change_active_client session[:active_client] = params[:client] redirect_to(:action => "lis...