similar to: issue in uploading images

Displaying 20 results from an estimated 600 matches similar to: "issue in uploading images"

2006 Apr 17
8
file upload
This is probably me having an issue with the mvc way of living.. .I''m used to perl/php scripting... I''ve got a photo blog I''m making... and in past iterations of this website, I''d just name the photos after the id of the entry. For instance: /photos/id.jpg /photos/id_thumb.jpg However, I''m having trouble finding an easy way to do this with rails.
2007 Nov 06
1
[PATCH] ActionController::CgiRequest#host_with_port() should handle standard port
Hi everyone, I''m looking for some +1''s for a bug fix patch I submitted: http://dev.rubyonrails.org/ticket/10082 The problem is that CgiRequest#host_with_port() overrides AbstractRequest#host_with_port() and does''nt use port_string() with standard_port() care. So I created patch to rename CgiRequest#host_with_port() to host_with_port_without_standard_port_handling().
2009 Nov 11
4
host_with_port in config/environment.rb
Hello everyone... i''m Italian, sorry for my poor English, but I find myself in difficulties with this method.I don''t need to redirect the logout of rubycas in a host other than localhost... when the decoy in "config/environment.rb" of course tells me ''method ''host_with_port'' undefined''... I looked in the folder of ruby and i saw that
2006 May 04
5
How to upload only jpeg & gif & png images into public/images using rubyonrails
Hello iam new to rubyonrails. Please any one help me out in "How to upload only jpeg & gif & png images into public/images using rubyonrails" Thanks in Advance -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060504/33a17ad2/attachment.html
2008 Jun 13
1
asset_host and ssl pages problem
I am configuring assets hosts for our site but am running into problems when navigating to an https page. Basically the server is trying to pull the assests out on https:// rather than http:/ but i do not have https configured on the assets server. I have dug around a bit and found this bit of code which should when a page is https:// serve the assests from the app server and when it is not https
2008 Apr 20
2
open_id_authentication - authenticate_with_open_id
I''m using the open_id_authentication plugin just like the README says. However, when I submit my openid_url, the authenticate_with_open_id method gives me the error below. vendor/plugins/open_id_authentication/lib/open_id_authentication.rb: 150:in `+'' vendor/plugins/open_id_authentication/lib/open_id_authentication.rb: 150:in `requested_url''
2011 Sep 02
1
can't compile assets on prod due to asset_host config && SSL requirement
My production asset_host config looks like this: config.action_controller.asset_host = Proc.new { |source, request| if request.ssl? "#{request.protocol}#{request.host_with_port}" else "#{request.protocol}assets#{(source.length % 4) + 1}.example.com" end } ...which is more or less straight from the docs:
2006 Feb 13
1
Component or plugin
Hi! I have been learning rails for a couple of week now. Mostly i''ve worked on a authorize/roles system and now i go to the point that i want to separate it from en rest of my application to share it with others and to use it in other projects. It is a quite simple system that i implement using before_filter. My vision is to separate the authorize methods and even some basic
2002 Dec 12
1
maclist - thank You
It is working very good :) Thank You. I only need to write Interface etho in maclist file. My MAC addresses don''t neet the ~ in front of. Thanks ! Maciek -- ---- Oferta jakiej jeszcze nie by³o! Serwer www 60 MB za 99 z³ rocznie Szczegó³y: www.oferta.alpha.pl ----
2018 Oct 11
1
Domain Administrator and shares problems
Mandi! L.P.H. van Belle via samba In chel di` si favelave... > > What I did, was to implement the smb.conf I got from Rowland. As I do > > not want *any* Samba users logging on with ssh, the template > > homedir = /dev/null, and template shell = /bin/nologin. > The other option is, setup a group in windows give it a GID and put the group in ssh. I suggest this option,
2013 Feb 26
1
How to avoid overlapping labels
Hi Remko, thanks for your answer. but i do not really understand how to use the commands. if i want to use thigmophobe.labels(x,y,) do i need to identify the xy coordinates for each point first and then manually move every point? and if i neet to do so how to use the identify() function? or is there any possibility to automatically place the labels in the best position? >MatArab <-
2008 Aug 11
1
High Cpu usage
Hello all. I have a samba 3.0.31, compiled and running on a freebsd 6.3-p3 and he work?s fine. But in some situations ( situations not discovered yet ) the use o cpu is very high, as you can see in the top command above. In my /var/log/messages i see this message, but i dont know what is, and what i neet to do. Enable log file on smb.conf i don't see anybody strange, i guess... So,
2007 Dec 23
1
Rails: possible routing discrepancy
Hey all, I''m seeing a strange behavior in my spec that I can''t account for. I''ve got a route that looks like this: map.writing \ ''/writing'', :controller => ''abstracts'', :action => ''index'', :index => { :select => ''all'' } and I have template code that looks like this: <br
2006 Jan 23
2
Action Cache upgrade plugin
This plugin is available through the Rails plugin mechanism as ''action_cache'' >From the README: === Action Cache update This is a drop in replacement for the Rails Action Cache. When this plugin is installed, the new behavior will take effect without any further configuration. All documentation for the Rails Action Cache is still relevant. === Features
2010 Jan 09
5
Redirect 301 and cache
I want my rails app to redirect from no-WWW to WWW domain (for example if I enter example.com/test to redirect to www.example.com/test). I put the following code in the application controller and worked fine: before_filter :check_uri def check_uri if !/^www/.match(request.host) redirect_to request.protocol + "www." + request.host_with_port + request.request_uri, :status => 301
2006 May 01
0
Obtaining the name of the host in environment.rb
Hi, For testing purposes, we deploy our app on different PCs. In the environment.rb file , we would like to set a constant to the name and port of the host. Is there a function that we can call to obtain the host and port when called from environment.rb? Ideally we want something like SVR=host_and_port() Remember, we cannot use ActionController#host_with_port because we are not in an action.
2006 Mar 13
1
issue with redirect_to
Hi all: I can''t make redirect_to to unlock the current iframe using {:TARGET => "_top"}. It always stays in the current frame. I checked the redirect_to code, it seems the method does not use "target". here is the source code of redirect_to from ActionController::Base def redirect_to(options = {}, *parameters_for_method_reference) #:doc: 753: case options
1999 Oct 14
1
Thursday
I am trying to use R on my computer. What are files that I need to run R properly? I appreciate your help. Douglas A. Kimble Design Engineer 767-200SF Payloads > * (316) 523-6442 * (316) 523-6003 > * 1-888-764-0675 > * #1 Douglas.Kimble at Wichita.BOEING.com > * #2 slimdoggy at prodigy.net -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2010 Jun 06
1
changing windows variables in wine
Hello all, I am a mac user running Wine to run geochemistry program on my mac under OS X 10.5.8 using Wine 1.1.35. I've got two out of my three programs up and running without a problem! When I try to run PhreePlot I get the following error in the wine command prompt: ***Error: Invalid PhreePlot system path. Check that the PhreePlot environment variable is specifying a valid directory
2006 Feb 10
2
OH323 Peer
Hi all, I have H.323 Gateway, and i want to make a peer to route calls to this GW. But i don't know is oh323.conf supporting to add peer type entry with all feature. Please let me know how i can add H.323 GW type peer? -------- Yours, Abdul Lateef Computer Programmer HATIF COM Mob: +974 - 5405022 ICQ: 276994704 MSN: abdulzu@hotmail.com GoogleTalk: lateef.np@gmail.com YM!: abdul_zu Doha