search for: migrob

Displaying 20 results from an estimated 21 matches for "migrob".

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 Jun 27
1
[OT]Development Patterns
...for about 6 years now using this process and the last project that I finished really made me think that it just isn''t cutting it. Has anybody used the spiral or any other iterative method? How did it work out? Rob -- c++: the power, elegance and simplicity of a hand grenade http://www.migrob.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060627/14b3f457/attachment.html
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
...examples. ri is fine, but can be a pain in the butt to navigate around. If there aren''t any really good ones out there would people be willing to contribute classes, methods and examples if I were to build one? Rob -- c++: the power, elegance and simplicity of a hand grenade http://www.migrob.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060430/9315696c/attachment.html
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 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 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 Jun 27
0
mod_fcgid trouble
...ironment.rb, but I started to get errors saying it couldn''t find >= rails-1.1.2, which is there. Any help would be greatly appreciated. If it helps I''m running mod_fcgid 1.09 with Apache 2. thanks, Rob -- c++: the power, elegance and simplicity of a hand grenade http://www.migrob.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060627/b6af4b4c/attachment.html
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 18
0
iFrame File Upload
...#39;'ve made a form that can submit the file to an iframe, but now I''m having trouble with my rjs template not being able to access div''s on the main page. Any pointers would be appreciated. thanks, Rob -- c++: the power, elegance and simplicity of a hand grenade http://www.migrob.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060418/b44675c7/attachment.html
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 19
9
geolocation db?
I''m currently planning a social app in Rails that relies on being able to see how far you are from everyone else. It''s my intention to store rough geo-coordinates as part of the sign up process. My intention is to capture their zipcode or postal code, and then be able to query a webservice once for that data. It''s also possible that there might be a database or even
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 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.