similar to: How to access records from multiple tables

Displaying 20 results from an estimated 10000 matches similar to: "How to access records from multiple tables"

2006 Aug 09
3
How to capture the data entered in a web page in RoR
Hi, iam a newbie to rails , i wanna know how can i capture data entered in a web page by a user For example, to obtain the data entered in a text field in a JSP in Java we write request.getParameter("textfieldname") similarly for any form element, we use this method to get the entered data in the web page Like wise what is the code in Ruby to capture this ? and where should i
2006 Aug 08
2
How to implement Tree structures in RoR
Hi, I am a newbie, i wanna know how to implement database driven Tree structures in RoR? Is there any direct support available or should they be implemented in Javascript ? Any tutorial link if provided will be of good help Thanks in advance Sathya -- Posted via http://www.ruby-forum.com/.
2006 Aug 08
3
How can i read a properties file in RoR
Hi, Iam a nubie, i wanna know how can i load/read a .properties file in to my rails application. For example i have a property file where i have defined the spanish equivalants of some english words as follows user Name:nombre del usuario user Code :c?digo del usuario likewise. now , where should i store this properties file in the directory structure and how can i read these in to my
2006 Aug 03
0
How to access web services in RoR
Hi, I just wanna know how to implement Webservices through RoR? So for i dontfind my good tutorial type of thing to access web services in RoR..Please if any one of you had experience this, help me. or direct me any link that has some good tutorial kind of thing on this topic Thanks in Advance Sathya -- Posted via http://www.ruby-forum.com/.
2006 Aug 08
2
Should I uninstall everything to install InstantRails?
Please help me I am brand new to this. I have been following this tutorial from OnLamp http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html which tells you how to install ruby, rails and mySQL and get going. Doing this tutorial convinced me RoR was the way to go for me. So I got hold of this e-book: Agile Web Development with Rails - The Pragmatic Programmers The book tells me to install
2008 Jun 24
0
creating a list view in rails 2
just started learning ruby and RoR a few days ago. There aren''t many tutorials on Version 2 so I went with a version 1 one. I''m going through the ONLamp one, found here: http://www.onlamp.com/pub/a/onlamp/2007/01/05/revisiting-ruby-on-rails-revisited-2.html?page=1 I got the scafolding and db stuff sorted out (as in the way its meant to be done in version 2) but I noticed that in
2006 Feb 08
0
form_remote_tag and tables
Hi, I was following the tutorial at http://www.onlamp.com/pub/a/onlamp/ 2005/06/09/rails_ajax.html and I''ve stumbled on a problem. Instead of using a <ul> tag like the tutorial for the list, I tried using a <table> tag. The problem I''m seeing is that the new item is rendered on top of the first item. The existing items are not shifted down as in the
2006 Jan 20
0
Newbie installation problem: gem [command] --remote
Hi, i am a newbie to RoR. I downloaded Ruby 1.8.2-15 Windows installer yesterday and trying to install following Curt Hibbs'' Rolling with Ruby on Rails(http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html). My OS is Win XP SP2 and the 1st step installation was fine. D:\rg\xampp\ruby\bin>ruby -v ruby 1.8.2 (2004-12-25) [i386-mswin32] Next I was going to install rails remotely,
2006 Mar 09
3
ONLamp.com Tutorial Trouble
I have installed Ruby on Rails and the latest version of MySQL in my Windows XP machine and I am following a demo from ONLamp.com <http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3>. I am 3/5 down the page where it says: "Open a browser and navigate to http://127.0.0.1:3000/recipe/new. You should see something like Figure 32." Instead of a page like Figure 32, I get
2007 Feb 04
1
Rails-Mysql driver installation problem? - newbie
I''m a newbie trying to follow the ONLamp RoR tutorial at http:// www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 Originally, I forgot to install the MySQL driver. It took a while to get a driver installed using gem, but eventually I got mysql-2.7 driver installed after downloading some ruby dev headers and mysql client library. Now, when I try and point the browser to
2007 Apr 23
1
Request for Configration details
Hai all, Iam a newbie to Asterisk. I want to configure my Asterisk thru Command Line Interface to connect two internal extensions and two external numbers and calls should occur between any of the two numbers. Can anybody kindly send me the configyration details for extensions.conf anf sip.conf file.. and if anything else needed to serve my purpose. Iam in a great need of this.... A reply word
2006 May 09
2
newbie: OSX Ruby/MySQL issue?
I''m three pages into the OnLamp RoR Tutorial [1] and am wrestling with what appears to be a MySQL connection problem. I''ve created a simple controller called "recipe" with a corresponding "recipes" mysql table. The recipe controller is just a simple scaffold. When I browse to "recipe/new", though, I get these errors: == NoMethodError in
2005 Dec 09
2
getting records from database
hey, i was wondering how to do this i have these models phones and location class Phone < ActiveRecord::Base belongs_to :location end class Location < ActiveRecord::Base has_many :phones end when i wanna find all locations, that the model also find the phones for each location Now i get the locations, need only 1 location X, then get all phones for location X. These are 2 database
2006 Jan 16
0
newbie - MissingSourceFile error
Hi RoR List I''m new to rails and I''m going through the tutorial @ http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 I have Ruby version 1.8.2 (2004-12-25) [i386-mswin32] and I installed rails remotely with >gem install rails --remote But when I create a simple controller and tried to load the page I get error: MissingSourceFile in <controller not
2005 Mar 18
0
scaffold generator, pluralization and tutorials
Hi All the tutorials call their controllers ''TodoController''[1] or ''RecipeController''[2] (singular), but "script/generate scaffold Recipe" for example generates a ''RecipesController'' (in recipes_controller.rb) As I''m rather new to RoR I don''t know if that convention changed, I read something about it here:
2005 Jun 18
1
Running general purpose queries
Hi, I''m considering migrating my site from php to RoR. I''ve installed RoR gone through the onlamp tutorials and made the recipie/todo list sample sites and tinkered with a few of my own. I understand the examples that use models and scaffolding to map tables, but I''m having a little trouble understanding how to handle general purpose queries. A few people have
2003 Nov 28
0
Re: Resend: Help for oh323
Michael, Thanks a bunch, I downloaded from inaccessnetworks.com thinking that it is the latest :). Ok I will upgrade it. just for the record, following worked. exten => _87.,1,Dial(OH323/H323:${EXTEN:1}@16.52.153.206) Cheers Sathya Date: Fri, 28 Nov 2003 11:28:59 +0200 From: Michael Manousos <manousos@inaccessnetworks.com> Organization: inAccess Networks To:
2006 Aug 08
1
recognation failed - ?!
Hi there, When I was making examples form "Rolling with Ruby on Rails" ( http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html ) , after generating controller MyTest, the WEBrick server ( localhost:3000 ) reported an error: recognation failed /MyTest The WEBrick server was started form correct directory, what else can crush in that way ? Cheers. -- Posted via
2004 May 26
0
Voicemail Recordings
I followed an asterisk howto at http://www.onlamp.com/pub/a/onlamp/2003/07/03/asterisk.html and everything was setup perfectly. I logged into the voicemail, changed my greeting, but it still played the old one. I checked the proper folder in /var/spool/asterisk/voicemail/ and I found 3 gsm files that had the default messages, and the 3 wav's that I recorded. I have format=wav set in the
2006 Jul 05
1
newbie question: Mapping Collections
Hi, Day 3 with rails here. Forgive me. If this has been covered many times before, pls just point me at the article. I worked through the Rolling with Rails tutorial (http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html) built up my cookbook. Things work great. I now want to add Ingredients to my app. So, a Recipe will have 1 or more Ingredients and any single ingredient can be