Displaying 20 results from an estimated 1000 matches similar to: "newbie question: missing template"
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 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 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 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 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 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 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 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 Apr 12
3
form_remote_upload
Hey all,
I just upgraded rails to 1.1.2, and form_remote_upload now prevents my
application.rhtml layout from being processed. I''m not sure if the problem
lies with v 1.1.2, or if upgrading the gems screwed stuff up. Anybody have
any ideas?
Rob
--
c++: the power, elegance and simplicity of a hand grenade
-------------- next part --------------
An HTML attachment was scrubbed...
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 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 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 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 May 19
2
Error in IE, works in FireFox?
Hi,
I have an rjs that works just fine in firefox (no errors in FireBug). In
IE however it doesn''t.
When I tried to debug it, I arrived to the following:
1. page.replace of some element - fails in IE with "Object Error", even
if I''m replacing the element with a simple "<tr></tr>"
2. page.hide of that same element - works
3. page.remove of that
2006 Apr 19
2
how to pass a hash as a parameter in link_to_remote
When using link_to_remote, I''d like to pass along some auxiliary data in
the request. It''s a hash of dynamic data that can change with each
request.
But I get an error when rails trying to "stringify" the hash.
For the regular link_to, it works because it turns the hash into a
regular GET-like query string.
I''m expecting to be able to get my hash as
2006 May 08
4
<%= text_field %> - how to set the value to session name?
I''m trying to automatically fill a "posted_by" text by with whoever is
logged into the session. How do you set the value attribute using "<%=
text_field ... %>"???
I''ve tried:
<%= text_field ''post'', ''posted_by'', ''value'' =>
User.find(session[:user_id]).name.capitalize) %>
But I get
2006 Mar 28
12
Rails & PHP
Hi there - I wanted to know if anyone has used Rails & PHP on the same
production server and whether they''ve experienced any problems.
I''m looking to install rails on our production soon, however I would
like to know if there are any issues I need to be aware about.
Many thanks,
Jared.
2007 Dec 04
1
spec''ing shared controller methods
I want to isolate and spec methods that are shared by controllers,
and live in application.rb.
Whereas I usually also provide examples in individual controllers
that use these methods, not necessarily all the edge cases and I''d
like to isolate the examples.
This is the approach I''m taking (thanks to bryanl for suggestions and
http://pastie.caboo.se/123626). WDYT?
This
2006 Jan 08
3
Getting the current Action in the Model
Is it possible to get the current Controller''s action from within the
Model? I have a situation where I want a piece of validation to run on
edits, but not on new creates.
Thanks,
- Mark
--
Posted via http://www.ruby-forum.com/.
2005 Mar 09
9
Unit testing + instance variables
After *much* digging and playing around, I finally figured out how to
unit test instance variables that are created by actions. It was
more difficult than I expected. It seems like there should have been
a more straight forward way to do this. Can someone enlighten me? A
simplified and somewhat contrived example of what I am current doing:
Thanks.
Matt
>>
# My Controller of interest