Displaying 20 results from an estimated 400 matches similar to: "form_remote_upload"
2006 May 24
6
newbie question: missing template
Hi
I''m new to this forum and new to Rails so excuse me if this is a daft
question.
I''m following the ONLamp.com tuturial and all has been well untill
changing the template for the recipes. I have followed the instructions
and added this code to the controller:
class RecipeController < ApplicationController
scaffold :recipe
def list
@recipes = Recipe.find_all
end
2006 Apr 30
3
Ruby Reference
Hello all,
What Ruby reference is everybodies favorite? When I''ve been looking around
for documentation I haven''t found any that quite compares to php.net''s and
cppreference.com''s function references. I''ve been using the one found on
rubycentral, but I think that it is missing quite a bit and doesn''t have
very good examples. ri is fine, but
2006 Apr 22
6
nOOb question: How to use find_all with form input data
Hello,
I''m having a problem utilizing the find_all method with a value from a
form. I keep getting the following error:
Mysql::Error: #42S22Unknown column ''category_id11'' in ''where clause'':
SELECT * FROM items WHERE (category_id11)
The controller seems to be getting the correct data, but my key and
value seem to be mashed together(it''s
2006 Apr 22
2
put variable in session each time any controller runs?
Hi -- well, that''s what I''m trying to do. Does anyone know what the
best way to do it is? I have three controllers, each one has a hidden
tag, and I want each one to salt its respective tag with the name of
the action in effect, at the time that action runs, for every action
in the controller.
--
Giles Bowkett
http://www.gilesgoatboy.org
2006 Apr 22
7
Can''t get rails working
I am trying to set up rails and am having problems. I have googled
everything I could think of, but have not found my problem. Here are my
specs.
Gentoo Linux 2006.0
Apache 2.2
Ruby 1.8.4
Gems 1.8
Rails 1.1.2
mod_fcgid 1.08
When I try to access my test rails app through the webserver, I get the
following error in the error.log (after seeing a html 500 error on the
page).
[Fri Apr 14 19:54:48
2006 Jun 27
1
[OT]Development Patterns
Hello all,
I''m curious as to what development models other people/teams follow when
creating web applications.
My company has been using the waterfall model(
http://en.wikipedia.org/wiki/Waterfall_process) for quite some time now.
I''m not completely conviced that it is the right process for web
development. I''ve been doing web development for about 6 years now using
2006 May 27
5
set printer on
hi all, I''m newbie on ror. My question is:
how could I set the printer on. The logic is as follow:
set printer on
my print stmt to printer
set printer off
thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060527/4feb1d5c/attachment.html
2006 Mar 13
4
controllers, models and views in plugins
Hello all,
Is it possible to package controllers, models and views in a plugin? The
tutorials for plugins seem rather sparse at the moment...
I''ve written a form "widget" that I''ve been using as a partial that I would
like to reuse in other projects. I was thinking about making a component
out of it, but I need to be able to access some of the form data that it
2006 May 17
40
IDE recommendations?
I was wondering if there are any IDEs out there that has autocomplete
features for win32.
It would be perfect if it could do something akin to what DHH is doing
on the screencast hosted on the rails website.
http://media.rubyonrails.org/video/rails_take2_with_sound.mov
Cheers
--
Posted via http://www.ruby-forum.com/.
2006 May 24
8
Where to recruit Ruby on Rails developers?
Anyone have suggestions on where to recruit Ruby on Rails developers?
My startup''s in Berkeley, CA and I''m looking for a talented technical
lead. I''ve tried LinkedIn and Craigslist but the pickings are slim. This
project provides an opportunity to use OpenLaszlo.
rocky at_sign teampatent dot com
--
Posted via http://www.ruby-forum.com/.
2006 Apr 21
28
Ruby, Rails & Linux - Which distro ??
Hi,
I''ve been doing most of my initial playing with rails on a windows
system - but wish to switch to a dedicated linux box for this.
Are there any particular distro''s to avoid / recommend. I prefer debian
for my other stuff, but thought i''d ask before going ahead. :)
Cheers
--
Posted via http://www.ruby-forum.com/.
2006 Feb 12
7
form_remote_upload plugin
form_remote_tag does not support the input type=file. This is due to
javascript security limitations. I created a plugin that modifies
form_remote_tag so that if you pass it the option: :html =>
{:multipart => true}, it will submit via an iframe, allowing you to
upload files. It works nicely with file_column :). Currently, it
only works with RJS templates (no :update option), and I only
2006 Feb 07
3
in place edit, save on blur
I thought I''d seen some discussion on this, but can''t find it. I have
a text area that I''d like to save on blur unless the user clicks
cancel. Anyone got a nice example of this? It''s non-obvious to me
how I force the submit via javascript. Thanks,
pt.
--
Parker Thompson
http://www.parkert.com/
510.541.0125
2006 Mar 31
4
form_remote_upload and rjs
I am using Kyle Maxwell''s form_remote_upload plugin with Rails 1.1, and
I cannot seem to get any code from my rjs template to execute.
The template works fine without the upload (if I remove '':html =>
{:multipart => true}'' from the form_remote_tag), but with the upload
nothing happens.
I have put ''<script>function
2006 May 05
7
vim: space or tab in indenting?
this is semi-off topic but still related to ror.
i had a problem with testing my depot program (which i follow the
tutorial in agile web development book). it took me many hours to solved
the problem. all the while i thought i was using spaces inside the
test/fixtures/products.yml
programmer_book:
id: 1
title: Pragmatic Programmer
description: Best book
2006 Jun 07
6
What if $$() for?
In the prototype.js library, what doe the $$ function do, and how do you
use it
--Will Merrell
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag
2006 May 13
8
Which Linux flavor for a Rails server?
Hi folks,
I''m a linux noob, and I''m trying to pick a distro for my rails server. I
don''t want to start a flame-war about linux distros! I''m interested in the
best distribution for these criteria:
1 - Simplicity of getting ruby and rails set-up (gem updates)
2 - Stability (it is a server, after all)
3 - Support resources (community, and as a fall-back, paid
2006 Sep 25
3
In place editing an empty field
I am trying to use the Scriptaculous InPlaceEditor and in some cases the
field will be empty. That is, the field currently has no value but the
user wants to enter a value.
The InPlaceEditor appears to not work in this case. Other identical
fields (except wit different ids and some value) do work.
I have tried using a nonbreaking space ( ), and this does cause the
editor to appear,
2004 Jun 08
4
Samba just Slow with AutoCad?
Brian
I might suggest a couple of setting changes on your XP machines:
1) Open services and stop/disable Web Client
2) Open windows explorer, go to tools>folder options, click the View tab,
and uncheck the "Automatically search for network folders and printers"
(I'm assuming Windows XP Professional on these settings)
Restart and try your printers again.
Bob
-----Original