473,543 Members | 2,365 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ruby / Ruby on Rails Forum

Ruby programming language and Ruby On Rails Framework - Ask questions about ruby programming, objected oriented, functional, ruby on rails, classes, methods, test driven development, refactoring, models , controllers, views and more.
0
2,483
thread by: ponnivalavan | last post Apr 12 '07 by: ponnivalavan
I want to bring in external news sources using rss feeds in ruby on rails. I don't have tables in my database. How can i approach this problem. Thanks all for your valuable suggestions.
0
3,887
thread by: damianrr | last post Apr 17 '07 by: damianrr
Hi, here i describe my problem: mi application must allow 2 basic issues: first: the users may be able to create 'people' (this would be a model with a scaffold, and is not an issue, the problem comes with requierement #2) second: the users should be able to add new fields to that model, for example: the model 'person' may have 2 fields,...
0
2,502
thread by: mahmoodi | last post May 7 '07 by: mahmoodi
hi i installed ferret and acts_as_ferret successfully. but my Persian character search has not correct result. my code: acts_as_ferret :fields => , :analyzer => Ferret::Analysis::RegExpAnalyzer.new(/./,false)
0
2,458
thread by: jcampbe43 | last post May 14 '07 by: jcampbe43
Does anyone know of a way to do keyword searches on documents in a filesystem with something similar to Oracle's Context package .. with mySQL/RoR's? I do this now with a Java/Oracle (Context) solution where the files are indexed and can be keyword searched. I have another problem where I want to use RoR (and whatever else) to do the same...
0
3,242
thread by: vanipuranam | last post May 21 '07 by: vanipuranam
When the user presses "Enter" from the keyboard instead of clicking the "Go" button I would like to have the code that would have run by clicking the button work the same way when they press the Enter key.
0
2,826
thread by: jonathan184 | last post May 29 '07 by: jonathan184
how to connect to an existing oracle DB. I just wanted to generate the code ont he exisitng db so it will connect and detect everything, I do ntoo want to create a new db or fields and so on. Could somebody help me with this please.
0
2,612
thread by: hrushikeshmohanty | last post Jun 1 '07 by: hrushikeshmohanty
Hi All, I am very new to this selenium tool. Is there any one can just tell me in what way I can proceed so that it will be easy to learn this tool. Thanks.
0
2,699
thread by: unnikrishnanes | last post Jun 28 '07 by: unnikrishnanes
I am new to ROR. I Have ruby and instant rails installed in my system(I am using Windows). I have created an application 'railslist' But when I tried to generate a controller I got the following error ------------------------------------------------
0
2,653
thread by: krishna kishore | last post Jun 29 '07 by: krishna kishore
hi , i am trying to implement a functionality where in we need to record a audio using microphone . i believe "flash communication server" should be used for the purpose ...i would like to take the views on using "flash communication server" in Rails application thanks kishore
0
2,220
thread by: ryt2aamir | last post Jul 19 '07 by: ryt2aamir
Hi. I've been trying to play with this for a while now but I haven't seemed to get it to work. I have a admin controller, which is scaffolded, to input the lat and long along with info. I have a restaurant controller that will display the map with the points. I can get the map to show but the points do not show. Code: ( text ) class...
0
3,066
thread by: Ccraig | last post Aug 16 '07 by: Ccraig
Hello, I am new to this and have run into a problem. I have edited a column in MySql and I can see that it works fine. The problem I have is I need to refresh the view (hope thats the right term) to show the change. I have looked and come up with: class test < ActiveRecord::Base before_destroy :change_field def change_field ...
0
3,228
thread by: advenk | last post Aug 23 '07 by: advenk
can i know the reasone for this exception, 1 error(s) on assignment of multiparameter attributes..... when we use a date_select.................
0
2,569
thread by: smsuma | last post Sep 6 '07 by: smsuma
Hi, I am new to Ruby. How can I identify and click a button in the webpage using win32ole? Webpage Source code has the following <input type="submit" value="&nbsp;&nbsp;Sign In&nbsp;&nbsp;">
0
2,450
thread by: JackInDaBox | last post Oct 18 '07 by: JackInDaBox
Hello, Anyone know if there is a problem with this? I am trying to go through this tutorial: http://notepad.onghu.com/2007/3/28/using-textile-editor-plugin-and-acts_as_textiled and I am not able to install the acts_as_textiled. Thanks
0
3,075
thread by: burttonboarder | last post Nov 7 '07 by: burttonboarder
I'm new to Rails, and so far I love it, but I'm having a problem. I have a phone_numbers table that has a number field, which holds the phone number for that record. I have also written a view which has three fields in it: area_code, prefix, and suffix. None of these fields exist in the phone_numbers table, but I wanted to break them up in the...
0
1,947
thread by: resurgentnaveen | last post Jan 9 '08 by: resurgentnaveen
Hi , I am trying to use Active Scaffold in my project and i need this template overriding feature of Active Scaffold. I am following the instructions on the link http://www.activescaffold.com/docs/template-overrides Could someone help me some piece of code for that Thanks in Advance
0
4,780
realin
thread by: realin | last post Sep 15 '08 by: realin
Hey guys, First of all, i am really n00b if you talk about ruby and rails, but i guess it is so comfort learning this language that i find myself doing some hell lotsa complicated stuff in just fraction of seconds, for eg streamlined,scaffold plugins Well, i want you guys to help me importing the contact from address books of yahoo,gmail,...
0
1,400
thread by: Wilbur | last post Sep 17 '10 by: Wilbur
Hi, I am learning Bioruby. Has any one written a script that contains the "Biocommand" method? I am stranded!!
0
1,765
thread by: Saran M | last post Oct 27 '10 by: Saran M
I'm using rails version 3.0.1 gem 1.3.7 ruby 1.8.7 sqlite 3.6.x
0
1,694
thread by: Brad Chin | last post Oct 27 '10 by: Brad Chin
Hi, I'm still new to Ruby on Rails, and I want to utilize ActiveRecord::Observer. I got Observer working under the rails environment by putting my rb files under app/model and configuring config/environment.rb. However, I want to automate the testing of my site via command line. Is this possible? So, I have a foo.rb
0
2,362
thread by: Magudamudi | last post Jul 6 '11 by: Magudamudi
Hi, I practice some examples but i couldn't run it well hello_message_controller.rb: class HelloMessageController < ApplicationController web_service_api HelloMessageApi wsdl_service_name 'hello_message'
0
2,157
thread by: Magudamudi | last post Jul 7 '11 by: Magudamudi
Hi, My code is require 'soap/wsdlDriver' w = "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" soap = SOAP::WSDLDriverFactory.new(w).create_rpc_driver result = soap.ConversionRate(:FromCurrency => "USD", :ToCurrency =>"CAD") puts result.conversionRateResult
0
2,657
thread by: Magudamudi | last post Jul 8 '11 by: Magudamudi
Hi, While using http we can set the proxy like this Net::HTTP::Proxy('10.199.99.99',3333,'username','password').start(url.host,url.port) When I'm trying to use Savon how to set the proxy? My code is
0
2,417
thread by: Hugg | last post Oct 20 '11 by: Hugg
I cannot, for the life of me and my goldfish, get this code to work for an assignment. I cannot make it change the array location to a 1 to make it "filled" by a passenger. I do .inspect at the end of the script and the array is just full of 0's (like how it is already set up), nothing I have tried will get the array to reflect what I want it to...
0
2,223
thread by: monica23 | last post Nov 23 '11 by: monica23
Hi everybody, in my database, am trying to print the value of total and then add it to the price, i was able to fetch the value of total but when i tried to add it to to price so as to get value of sum in this line of code sum = price + %s, row puts "sum"

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.