similar to: Hi

Displaying 20 results from an estimated 1100 matches similar to: "Hi"

2006 Mar 14
3
Help doing find - look for nonempty habtm
I''ve got a Cuisine and a Restaurant model, with a habtm. One thing I want to do is find all the cuisines that have at least one restaurant associated with them. Right now I''m using the following SQL query: SELECT DISTINCT(cuisines.*) FROM cuisines, restaurants, cuisines_restaurants WHERE cuisines.id = cuisines_restaurants.cuisine_id AND restaurants.id =
2006 Jul 31
9
Multiple Pagination
I have the following: def index begin @restaurant_pages, @restaurants = paginate :restaurants, :order => (params[ :sort ] || "name"), :per_page => 2 @cuisines = Cuisine.find_all rescue redirect_to :action => :index end end # sort by cuisine def
2006 Jul 09
1
Quick Question
I have this method in a controller def sort_by_cuisine #@restaurants = Restaurant.find(:all, :conditions => ["cuisine_id = :id", params], :order => params[:sort]) @cuisines = Cuisine.find_all end And I want to put the bulk of it in the model, but still call it from the controller. How can I do this? I''m fairly new to Ruby on Rails and I''ve tried
2007 Nov 10
9
problème de téléchargement
salut Alex, je ne peut pas télécharger wxruby-1.9.2 avec rubygems. J''avait wxruby-1.9.0, mais j''ai fait une restauration complète de mon pc hier. J''ai la version 0.9.4 de ruby gems. J''ai un message d''erreur <openURI::HTTPerror> quand je veut installer wxruby-1.9.2. merci _______________________________________________ wxruby-users mailing list
2006 Mar 22
1
How do you clean up this cryptic code?
So, I''m coding my school project in Rails. There are two models, User and Restaurants. I noticed that in Restaurants, when you use the belongs_to method, you could specify the condition of the associated table. There are a few types of users, in the user_type column of the users table - owners is type 1, users are type 2. So in my haste to hand in enough code, in the Restaurant model,
2006 May 04
9
Help: wrong number of arguments (0 for 1)
Is it my environment? Is something wrong, cause I thought this should just work? I have a simple table and I created a model and a controller: ruby script/generate controller Restaurant ruby script/generate model Restaurant I edited the controller to this: class RestaurantController < ApplicationController scaffold :Restaurant end I run it and: http://0.0.0.0:3000/Restaurant works fine,
2009 Oct 15
10
AJAX - how to have multiple select form sets implemented?
hi, there :) Consider a blogging application whereby a user is trying to add a new blog. He/she has to select a category. Upon selecting a category from a drop down box, a new sub categories drop down box will be created (hence an AJAX call). Got this implemented and it''s ok. Now, let''s assume that a given blog can have multiple categories (and subcategories). For example, a
2012 Dec 16
3
Running code in another controller action
I am doing a partial render in the view from one controller. Here is the code -> <%= render :template => ''restaurants/new'' %>. I want the other controller new action code to do it. Is there a way to call an action in another controller ? I don''t want to duplicate the same code in two controllers. -- You received this message because you are
2006 Mar 07
10
Star Rating Component?
Hi, I''m looking for a star rating component for RoR, a bit like Votio (http://redalt.com/downloads/ - find the votio heading) or the star rating used on Amazon. I don''t really need the AJAX capabilities, just the ability to bind the results to a hidden drop down, or radio inputs. Multiple raters per page is also an issue. Any recomendations? -- Posted via
2005 Jul 09
2
Modifying astcc
Hi: Astcc is working fine, except for one thing. It doesn't give the called party enough time to answer the phone. If nobody picks up in two rings, astcc reports back no answer and hangs-up. The only instant NOANSWER "value" was mentioned in astcc.agi script is: elsif ($res eq "NOANSWER") { $res = &mystreamfile("astcc-noanswer");
2006 Jun 28
9
Portland
Anyone out there in Portland. I''ll be in town this weekend, and was looking for advice from Rubyists on things to do. Thanks, Jake
2007 Aug 20
1
Application for Home Delivery Restaurants
Hello All We have developed an application for Home Delivery Restaurants using Asterisk, Java (JSP/ JSF) and MySQL. Here is listing of its features. If someone is interested then we can provide him more details. - POP up window with caller data containing his/her name, address and transactions history. - In case of new customer, Pop up window with blank form to add customer data and
2008 Mar 05
4
NIN Ghosts music (free download) safe for MOH?
Is the new NIN Ghosts music (free download) safe for MOH? Justin ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Jun 11
4
Digium IP Phones D40
Hi All; Any one used Digium IP Phones D40? I need to know if they are stable with good voice quality? Comparing to Polycom 330, which is better? Let us talk frankly although I know that we have to support Digium. Regards Bilal
2009 May 11
1
Building US maps in R
Hi, I'm trying to build some maps of the US by county that will have the following characteristics: Feature/Map Map 1 Map2 Both Broken out by county Yes Yes Yes Heatmaps of US Census Data for income by county Yes No Yes Heatmaps of US Census Data for race by county (recoded as white and &non-white, with each county color coded based on the majority) No Yes No Polygon
2004 Dec 21
1
Paris Meeting on Dec 20, 2004 - réunion à Paris le 20 décembre 2004
Hi, Just a quick word on this since I was fortunate enough to attend. There were about 18 people, almost all French (if you include the marseillais as French, they may have objections :) Not that I was counting, but there was one female human there. Thanks Mark for your generosity and the good choice in restaurants both this year and last June was it? The souffl? au Grand Marnier was very nice,
2009 Dec 11
0
[LLVMdev] stack usage and scoping
Hello, Scott > I've just started using LLVM for a project I'm working on, and the > docs seem to encourage the use of alloca, with the expectation that > various optimization passes will optimize away unnecessary stack > pressure.  However, I can't seem to figure out how LLVM can properly > re-use stack space, since it doesn't know the extend of a stack >
2016 Oct 31
2
LLVM Bay-area social durring LLVM Dev Meeting
Stay tuned, George and I are sorting this out. On Mon, Oct 31, 2016 at 12:01 PM Daniel Berlin <dberlin at dberlin.org> wrote: > Historically, we haven't had the social during the dev meeting because > there's usually a reception :) > > > On Mon, Oct 31, 2016 at 11:53 AM, Piotr Padlewski via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > Hi, > I
2005 May 12
4
gnugk
Hi I've a problem with a gnugkv2.0.7 I've compiled gnugk successfully I've installed PWlib-1.6.6 and openh323-1.13.5 libraries successfully When i run gnugk i have this error: error while loading shared libraries liboh323_linux_x86_r.so.1.13.5 cannot open shared object file No such file or directory I try to use command export: export
2006 Jun 28
2
Nouvelle Appli Rails (made in france ?) redMine
Salut, http://rubyforge.org/projects/redmine/ redMine is a project management web application: issues tracking, news, documents and files management. Written using Ruby on Rails framework Complet, Joli! et code tr?s propre, merci ? Jean-Phillipe Lang. Et en particulier pour son helper pour faire des tris dans des affichages pagin?s. J''en abandonnerai presque Mantis..