#rubyonrails - Sat 31 Mar 2007 between 09:44 and 09:58

NY Lost Funds



pitchblackyes
and i write it as :controller => 'other/some'
atechAJCneed the starting /
pitchblackand it is like Other::SomeController < ApplicationController
atechAJCso '/other/some
JensB: i'd just use validates_inclusion_of - although it really depends on your app
pitchblackkthx, will try that one
bronchmxis there a way to upload more than one file with file_column ?
JensBatechAJC, thanks, I'll try that out first
pitchblackatechAJC - yep, it worked, but not fully
atechAJChow not fully?
pitchblackwell i managed to get to route it to that directory
but now it can't find the controller
atechAJCwhich one? Some or Other?
pitchblackOther
hmmz... is directory names are aswell case sensitive?
atechAJCmap.connect 'other/some/:action/:id', :controller => "/other/some"
well everything should be lowercase
pitchblackuninitialized constant Splinter::IndexController
atechAJCso you have domain.com/index/spliter ?
pitchblackatechAJC - so now i need to map every controller in other dir?
i have domain.com/splinter/
atechAJCah ok - and you have a folder app/controllers/index/
and where is the index_controller.rb file?
pitchblackapp/controllers/splinter/
and index_controller is in that folder
with Splinter::IndexController < ApplicationController
oh
back to the same routing error
thing is
i moved acts_as_authenticated account_controller to other dir
and now it won't work
Splinter::AccountController < ApplicationController
Splinter::IndexController < Splinter::AccountController
etc..
it does the redirect right though
Bongo`hello.
atechAJChmm
pitchblacki know it worked on 1.2.2
it began after i upgraded to 1.2.3

Page: 1 8 15 22 29 36 43 50 57 64 71 78 

IrcArchive

NY Lost Funds