Displaying 20 results from an estimated 2000 matches similar to: "Error in IE, works in FireFox?"
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 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 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 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 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 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 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 13
5
Ajax Checkbox using Rails
Hi,
I''m trying to have a checkbox, that when clickes sends an update to the
server and in turn modify the UI with feedback on the success of the
operation.
The main difficulty I''m encountering is that I can''t pass the checkbox
value if I use the standard PrototypeHelpers.
I''m using remote_function to build the function call, but it doesn''t
allow
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 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 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 Apr 03
7
Javascript helpers not updating table row in IE6
Trying to replace a table row with an id using both RJS templates and
normal link_to_remote :update. Neither work in IE6, fine in FF etc.
If I use the same code but target a div with an ID it works. This is
tricky as I have a table with edit buttons, when the button is pressed
that row gets updated with a partial containing a form for update. I
need this to work as II don''t fancy
2011 Jun 04
2
Weird paramterized issue
Im using a parameterized class in my site.pp:
class development($user) {
class{"basenode": user => $user}
class{"nodejs": user => $user}
include "coffeescript"
include "ruby"
}
This class defines nodejs class that epects a user as input:
class nodejs($user) {
class {"nodejs::npm": user => $user}
$node_ver =
2002 Aug 27
3
Local mount of Win shares.
Hi,
I have Samba server working just great.
Is there a way I can work the other way around, I mean - can I mount Win shares in the Linux?
Something like, making /shares/whatever see the files on //WinMachine/sharename?
This could be good for backing up the files from the Windoz with the Linux box.
Ronen Baram
System & Network Administrator
Coreflow - Scientific Solutions ltd.
P.O. box
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
2010 Nov 30
2
IE problem with submit_tag
I''m having some difficulty with IE8 on a Rails 2.3.5 app. I''ll state
from the outset that this problem does not occur with Firefox, Chrome,
or Opera when run on the same system so I''m reasonably certain I''ve
got an IE issue here.
Here''s a simple description:
I''m ending a Users#new form with:
<p><%= submit_tag, "Sign