similar to: accessing uploaded file on filesystem question.

Displaying 20 results from an estimated 1000 matches similar to: "accessing uploaded file on filesystem question."

2006 Mar 20
9
jEdit Snippets for Ruby on Rails
----------------------------------------------------- Announcing: jEdit Snippets for Ruby on Rails ----------------------------------------------------- I thought I''d "give a little back to the community" and whip up some SuperAbbrev files for ruby and rhtml that mimic all of the Textmate Rails bundle snippets. Note: This was totally inspired by Textmate and the syncPEOPLE
2006 Jun 03
9
MergeJS - Easily merge, compress, cache, and version your javascript!
After reading Cal Henderson''s article on Vitamin Serving Javascript Fast<http://synthesis.sbecker.net/articles/2006/06/03/www.thinkvitamin.com/features/webapps/serving-javascript-fast>I was immediately inspired to create a plugin to easily facilitate this in Ruby on Rails. I whipped up most of it right then, and finally got around to polishing it for release today. Told myself I
2006 Apr 28
4
Call for patterns...
Hi group, I was wondering if anyone more experienced could help me to find a good pattern for two things: 1. How to group controllers. Example: We have an admin panel with: user_managment_controller.rb priv_managment_controller.rb widget_controller.rb User panel with: mystuff_controller.rb mytags_controller.rb profile_controller.rb And frontend with: widget_controller.rb etc... How do I group
2006 Mar 29
4
Dreamhosters beware: 1.1 migration ruckus
This will probably demolish your Typo-based weblog and cause some other glitches. Read the comments and some workarounds here: http://blog.dreamhost.com/2006/03/28/new-rails/ -- ---------------------------------------------------- http://sobrerailes.com
2006 Apr 21
1
log file handling
I don''t see anything on wiki.rubyonrails.org or in rubyforge that handles logs but I am looking to perhaps tarball/compress each day''s log and save it/rotate it which I may be able to get done from logrotate on the Linux system but I would have thought that there would be a ruby way. I only see ''rake log:clear'' in rake --tasks. Anyone have suggestions? Thanks
2006 Jan 19
1
Relationships, relationships, relationships!
If I had my very own sweaty, wind-up Ballmer (http://www.ntk.net/ballmer/mirrors.html warning: mind-scarring video), that is what he would be saying: "Relationships, relationships, relationships!!" My unscientific polling of the traffic in #rubyonrails and here is that, second to deployment issues, this is the bigges FAQ for Rails: how to do relationship x in ActiveRecord. There seems
2006 Jan 23
3
[OT] Lighttpd + AWStats
Hello ~ I have posted a tutorial on my blog, http://www.benr75.com/pages/lighttpd_awstats_tutorial, on how to get AWStats and Lighttpd to work together. I thought it might be of interest to Rails folk as I know many run Light. Enjoy, -- Ben Reubenstein http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 May 23
4
''key not found'' problem with saving model object.
Hello, I have the following structure: model foo has_many :bars:, :dependent => true end model bar belongs_to :foo end In my action, when i try to save foo: def save begin f = foo.new f.a = 5 begin b = bar.new b.a = 10 f.bars << b rescue Exception => exc ... end f.save! <-- This does not happen
2006 May 16
4
question about strftime when called from partial.
Hi, I''m calling a helper I''ve written - format_time() that is called from my views with a given time that was selected from my database and was returned to the view via an instance variable. When I call format_time from a partial, I see that I get some kind of String error and the partial won''t render. Basically, the object being passed in to format_time is already a
2006 Jul 31
20
RADRAILS installation guide
hi all is there eany installation guide that explais how to set up RadRails and how to create a RoR project with eclipse? thanks -- Posted via http://www.ruby-forum.com/.
2006 Feb 03
9
validating phone numbers
Anyone got a good validation for validating a phone number? I just want to make sure that whatever the user enters is somewhat sensical, and i''d like to be fairly liberal about what kind of a format it''s in. Joe
2006 Mar 09
11
syncPEOPLE on Rails TextMate Bundle 1.0 & Screencast
The 1.0 version of our bundle is now available for download, along with a 10 minute demonstration of it in use. See http:// syncpeople.com/downloads. == What is syncPEOPLE on Rails? == syncPEOPLE on Rails is a bundle of snippets, macros and commands for TextMate that make Rails development on the Mac even easier. Generate scaffolds, migrations, models and controllers from inside the
2006 May 30
3
expected, got Fixnum problem.
Hi, I was wondering if anybody knew what ''<some type> expected, got Fixnum'' means? My code looks like the following: begin anevent = Event.new anevent.title = params["event"]["title"] anevent = session[:user_id] com = Community.find(params[:id]) com.events << anevent rescue Exception => exc ... end But I get an
2007 Jun 07
1
Search results
Hi, I am new to Ruby, I am a Java expert. I don''t know how to handle the results of a search... I have read a lot, but nobody seems to give examples of that. Do I get an ArrayList from a Table? Do I get fields? How can I identify them? Do I have to parse them to a Class like: Person user = Person(personlist.get(i));? Please, help me... -- Posted via http://www.ruby-forum.com/.
2006 Apr 20
5
Rails, FCGI, Dreamhost
Is anybody getting acceptable performance with a Rails application on Dreamhost? By this, I mean response times no greater than 3 seconds, and no large numbers of FCGI processes that you have to kill manually. If so, how? I''ve ended up running a constant ping script (once every ten minutes), and still have to kill some number of excess dispatch.fcgi processes every day. Along with
2006 Apr 25
1
IvyGIS --- Rails Engine for custom maps.
Hi. I''m announcing a Rails Engine for presenting maps based on your own data, either rendered by Mapserver, or pulled directly out of geometric database tables stored by PostGIS. There''s a demo here: http://ivygis.mgxkernel.com:3000/canada which shows a tiled, draggable version of a Mapserver demo map, with mouse-sensitive park polygons and railroads (SVG in Firefox 1.5+,
2006 Feb 03
6
Saving a User Object while in the Address Controller
Hi, My saves are failing me and I can''t figure out why. I am trying to save an address id to a user object just after I create the address. This isn''t the exact code, but it shows what I am trying to do. class AddressesController < ApplicationController def create @address = Address.new(params[:address]) saved_address = @address.save @user =
2006 May 10
2
getting absolute paths on files on filesystem.
Hi, I''d like to be able to store the absolute path for a file so that I could use <img src = "...." > and give it the path to the file I''d like to display. I was wondering if there is an easy way to do this and whether there are any issues with this on Windows. thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 19
0
AssetPackager released! Compress, merge, cache and version your JavaScripts and CSS Stylesheets
Hello all, I''m announcing a new version of my plugin AssetPackager (formerly known as MergeJS). Biggest new feature? It now merges and compresses CSS files as well! New Features: * support for css files * versioning of individual packages * use of more meaningful subversion revision numbers (if available) (thanks Chris Van Pelt!) * namespaced rake tasks * no more
2006 Jun 03
12
How to get dynamically created inputs from html form back to rails app
Thank you in advance. Although I have many years of experience in general, including cross- platform processing, I am not an HTML/Javascript programmer. As a result, I do not have certain specific baseline skills and/or knowledge that are presumed in the Rails and Ajax documentation. I am experienced with DOM manipulations, so the bare mechanics of manipulating the browser GUI via Javascript