similar to: [OT]Development Patterns

Displaying 20 results from an estimated 900 matches similar to: "[OT]Development Patterns"

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 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
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
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 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 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 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 Jun 27
0
mod_fcgid trouble
Hello everyone, I''m having some trouble hosting using mod_fcgid. If I run ruby -d dispatch.rb I get the error: Exception `NameError'' at ./../config/boot.rb:14 - uninitialized constant Rails Any ideas on how to fix this? The weird thing is that running it with webrick works just fine. I tried setting the GEM_HOME environment variable in my environment.rb, but I started to get
2006 Apr 18
0
iFrame File Upload
Anybody here have any experience uploading a file via a hidden iframe for that "ajax fresh good feel"? Previously I was using the plugin form_remote_plugin ( http://svn.kylemaxwell.com/form_remote_upload/trunk/) which was working like a dream until our sys admin updated rails to 1.1.2. I''ve made a form that can submit the file to an iframe, but now I''m having trouble
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 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 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 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 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
2009 Jul 16
0
[LLVMdev] please stabilize the trunk
2009/7/15 Dale Johannesen <dalej at apple.com> > > On Jul 15, 2009, at 4:48 PMPDT, Daniel Dunbar wrote: > > > That depends on what you call a false positive. The public buildbot > > regularly fails because of mailing Frontend tests, and I have had > > continues failures of some DejaGNU tests for a long time on some > > builders. Its not a false positive per
2006 May 05
31
The perfect development environment?
I am trying to create the perfect development environment for rails and i dont know exactly which way to go. Do i create a windows environment or a *nix environment. If i go *nix, what distro is best suited for rails. I would be using mysql, so that would come in to play. If i go *nix, i would use apache. Any ideas for the right environment would be greatly appreciated. I guess the major choice is