similar to: mime yaml

Displaying 20 results from an estimated 8000 matches similar to: "mime yaml"

2006 Sep 11
8
fckeditor works, but i cant get my buttons back...
I am going to bet this is a mongrel issue,because this doesn''t happen under webrick. Anyway, I was able to get fckeditor: http://www.fckeditor.net/ to work under rails: http://www.joshuamcharles.com/xhtml/fckrails.php i even saw the part about adding "1. Adding a YAML configuration file. For example, create $(RAILS_ROOT)/config/mongrel_mime.yml with the contents: xml:
2006 Jun 13
1
log and pid file problems when using a config file w/ -C
Hi there, I''m using Mongrel (0.3.13 prerelease, installed today) to serve up some Rails apps in production. Everything works fine if I give all the appropriate options on the command line, such as: $ mongrel_rails start -c /home/mcornick/rails/mcornick.org/current -P log/mongrel.pid -l log/mongrel.log -e production -d -a 127.0.0.1 -p 6833 So, having accomplished that, I thought it
2006 Jul 17
1
FF1.0 + Prototype Ajax not working in 0.3.13.x
Hi guys, I have a funny problem that only occurs in FF1.0.x but works fine and dandy in FF1.5. I''d thought its me screwing up with the JS... but even this " What time is it <http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html>" doesn''t work with until I downgrade to Mongrel 0.3.12.4. I don''t like/use FF1.0 too.. but too bad for me
2007 Feb 08
0
mongrel_rails man page
Hello! hey, I''ve been writing this man page for mongrel_rails for some time and now I wanted the list to take a look at it and see if it''s good. After it''s ok, and if zed want to integrate it in mongrel (or any other distribution wants it), the debian note can be removed :D Manual Page: .TH MONGREL_RAILS 1 "2006-11-17" "Mongrel Rails" .SH NAME
2007 Apr 06
0
Problem using a configuration file
Hi all, I''m trying to start Mongrel using a configuration file, but Mongrel complains: $ sudo mongrel_rails start --config /usr/local/www/xltester.com/config/mongrel.yml !!! Path to log file not valid: log/mongrel.log mongrel::start reported an error. Use mongrel_rails mongrel::start -h to get help. I''m using sudo above to replicate monit, not because I run Mongrel as root.
2006 May 30
3
extra attributes in habtm
Hi, Posting here since issue tracking isn''t the best place to discuss. I can understand habtm is moving towards deprecating support for extra attributes in join_table, and to use :through for those cases instead. To clarify, patch<http://dev.rubyonrails.org/attachment/ticket/5216/habtm_join_table_test.patch1.diff>for #5216 <http://dev.rubyonrails.org/ticket/5216>
2006 Jun 23
1
mongrel start oddities
I am running mongrel-0.3.13.1. Have used lighty and fcgi in the past, and I must say that apache-2.0.x proxying to mongrel is much nicer to deal with! I am having this problem, however. If I am in root''s homedirectory, and start mongrel with this command: --------- mongrel_rails start -a 127.0.0.1 -e production -c /home/www/rails/myapp -l log/mongrel.log --user mongrel --group mongrel
2006 Jun 14
0
krjs plugin: a different way of doing RJS
Hi guys, Just wrote a simple plugin, krjs<http://plugins.radrails.org/directory/show/70>, that introduces kind of a VB-event-style of writing RJS apps. You introduce Ajax behaviors into your application by defining event handlers ( e.g. on_form_submit, on_password_change) in your controllers instead of explicitly doing remote_form_tag or link_to_remote in the views templates.
2006 May 04
4
problem setting up mongrel_cluster 0.1.1
I posted this to the rails list before by mistake, and only later realized that there is a specific mongrel list. Uff, I got lost. I had mongrel_cluster 0.1working fine, even with capistrano (my own hack). Then came mongrel_cluster 0.1.1 and I tried to set it up, but somehow I messed up things and nothing worked anymore. So here is what I did: on production machine: (debian linux, rails 1.1)
2006 Aug 07
0
some questions about mongrel
i posted some of these questions on the rails list, but thought that i should probably post them here instead. zed has already answered one of my questions, but i did have a couple more. 1) mongrel is not writing the pid file, which i have specified in the config file --- :cwd: /srv/www/railsapps/rftrack :includes: - mongrel :log_file: log/mongrel.log :config_script: :pid_file: log/mongrel.pid
2006 Aug 11
1
mongrel still fails to write pid file when starting with config file
upgraded to 0.3.13.4 this morning in order to correct the above titled problem but mongrel is still not writing the pid file when starting with a config file verified i am running 03.13.4 with --version if i run this command: mongrel_rails start -p 3000 -e production -d --user mongrel --group webdev mongrel DOES create the pid file if i run the same, and include -G config/mongrel.conf, the
2008 Apr 25
1
attachment_fu and mime type issues
Hi All, I am having a problem with the attachment_fu plugin and flac audio files. In the dev environment, using mongrel, the form upload object does not seem to have any associated content_type. I get the following attachment_fu validation error: "Content type can''t be blank". I don''t understand why the file_data would not have any content_type. Doesn''t rails
2009 Oct 12
2
yaml ?nodes? or nested maps
I want to iterate ?nodes? and ?leafs? for a yaml document: thufir@ARRAKIS:~/projects/rss$ thufir@ARRAKIS:~/projects/rss$ ruby user.rb user.rb:6: undefined method `[]'' for nil:NilClass (NoMethodError) from user.rb:5:in `each_key'' from user.rb:5 thufir@ARRAKIS:~/projects/rss$ thufir@ARRAKIS:~/projects/rss$ ruby user2.rb user2.rb:5: undefined method `[]'' for
2006 Jun 14
1
reset_session when Ruby goes down
Hi, In my web application we have implemented the session and it works fine. ie. it prompts for the userid/password when ever we give the URL by opening a new IE window. i.e it goes through the session and see if the :user_id is present in the session if not it prompts to log-in again. But my problem is say if we "kill" the WebRICK abruptly by pressing ^C and say my browser window
2006 Aug 10
3
Radio buttons refusing to load checked...
Hi, Having big problems with radio buttons that just don''t make sense: <%= radio_button "events", "impact_type", true %> Positive <%= radio_button "events", "impact_type", false %> Negative This should create two radio buttons with the first one checked by default, right? Cos it doesn''t :( Any ideas would be great, Thanks,
2006 Nov 08
2
restart - `exec'': Operation not supported
I played around with this some more and when I changed line 142 of /opt/local/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails from "exec cmd" to "system cmd" Mongrel has successfully restarted every time I''ve tried ("mongrel_rails restart"). Hell if I know why exec doesn''t work -- googling on "exec Operation not supported ruby"
2007 Oct 08
5
Escaping colons in YAML
Hello, Does anyone know how to escape colons in YAML? The key in my yml is the domain with port number, but the yml file isn''t working with this setup: ###BEGIN production: ### THIS IS THE ONE I''m HAVING TROUBLE WITH ### 8.11.32.120:8000: GoogleMapsKeyforThisDomain exampledomain.com: GoogleMapsAPIKeyforThatDomain development: GoogleMapsAPIKeyforDevelopmentDomain ###END
2007 Oct 05
7
Trouble with text_field_tag
I am trying to implement a basic login page: login.rhtml 1 <fieldset> 2 <% form_tag do %> 3 <label for="name">Name:</label> 4 <%= text_field_tag :name, params[:name] %> 5 <label for="password">Password:</label> 6 <%= password_field_tag :password, params[:password] %> 7 <%= submit_tag
2007 Apr 17
5
How to change the default encoding for dynamic pages
Hello, I''m trying to write a rails application serves by mongrel and using accentuated characters in the .rhtml page. But Mongrel replace them by ''?'' . It works fine for static pages by defining the charset to iso-8859-1 in the mongrel_mime.yml But how to change the default encoding (seems to be UTF-8) for the dynamic pages ? thanks for your help. -------------- next
2006 Aug 20
1
Problem with: service mongrel_cluster start
Hi all, I am having trouble transitioning from fastcgi to Mongrel. I have it all working apart from one small part, I can''t get the service to start on boot. I have followed the instructions and if I call the script directly: i.e. "/etc/init.d/mongrel_cluster start" it works fine, but if I call it using "service mongrel_cluster start" it fails with the