search for: magic_hat60622

Displaying 9 results from an estimated 9 matches for "magic_hat60622".

2007 Mar 12
17
need help writing a plugin
Hi, I''m halfway developing a tiny plugin that allows people to scrub flash video files. I''ve got my plugin setup to monitor a directory /movies. Whenever a .flv file is requested within that directory, some stuff should happen, if not, the request should be processed as usual. I don''t know how to do the latter.. require ''mongrel'' require
2006 Jul 17
1
AJAX/drop-down form entry
Hi all. Trying to figure out the best way to implement a drop-down text-entry box. Users will select a payment method from a select menu. If they click credit card, a text box drops down to allow them to enter a cc number. if they pick another option, they''re routed elsewhere when they submit the form. Ajax? Java? other ideas? -- Posted via http://www.ruby-forum.com/.
2006 Jul 26
0
formatting output with lookup values
Is there an easy way to apply lookup values to output without using a lookup table? For example, I have a users table with a user id. When I display a list of users, I''d like to have "1" mapped to "John", "2" outputs as "Beavis", etc. -- Posted via http://www.ruby-forum.com/.
2006 Jul 26
0
error when updating table with select box
trying to update a table with form input from a select box and getting this error: "Options does not specify :except or :only" #View: <%= start_form_tag :action => ''order_update'', :id => @order %> <div> Status <br /> <select name="order[shipping_status]"> <option>None</option> <option>Paid</option>
2006 Sep 06
0
parsing tags
I''ve got an app that allows users to assign multiple comma-delimited tags to a new article. Tags have and belong to many articles, and vice-versa. On the controller, I''m trying to parse the tags like so: @mytags = params[:tags].split('','') @mytags.each {|a| @article.tags<<Tag.new(a) } I''m getting this: "undefined method
2006 Oct 05
2
update_attributes
I''m working on a form that updates a product record and several associated detail records. The detail records are showing and populating okay in the form. But when it hits the controller, I get Couldn''t find Detail with ID=detail AND (details.product_id = 38). The :detail params seem to refer to the correct record id. Anyone have an idea how to fix this? Here''s the
2006 Sep 30
3
Domain setup w/ RoR & Plesk
Hi all. I have Rails installed on a dedicated virtual server that''s running Plesk. I''ve been told by my hosting service that removing or altering Plesk''s default domain root folder (httpdocs) is likely to muck things up. So what''s my best option for setting up rails apps, given that I can''t create them as the domain root?
2007 Mar 12
0
setup/config issue
Hey everyone. I''ve got my linux apache 2.0 server set up with vhost.conf to forward traffic to mongrel on port 8000. It''s working fine in some situations, but I recently installed a rails app that is giving me all sorts of missing model and controller errors. The app works on other servers, so I''m guessing there''s some sort of mongrel/rails interaction issue
2007 Nov 17
0
rake errors
Folks, I have a rake task that runs via cron and calls a controller action. I was getting the ''config/boot.rb:28:Warning: require_gem is obsolete'' warning, so I ran rake update:rails. Now I''m getting a whole bunch of errors and the rake task bombs. The traceback on the errors doesn''t seem to make much sense to me. Help? rake task... require