473,543 Members | 3,135 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.
1
6,197
thread by: ogrecio | last post Nov 14 '06 by: jslaroch
I'm thinking of migrating from Fortran to Ruby. Do you think i should go ahead?? First problem i have. How to read a file with several fields? This means: Imagine a file: Peter4 1990 Sam 3 1980 Grac6 1991 I would like to read for each line:name, order and year (3 variables per line). How can i do this? and how can i write them into a...
1
5,062
thread by: mlohr | last post Jul 8 '08 by: improvcornartist
For my intranet Rails app I need to get the windows logon from the user. I know it must be possible, but how?
1
4,950
thread by: sailajareddy | last post Jul 8 '08 by: improvcornartist
hi friends, how to implement three combo boxes(Country,State,city)that filters each other when changed,Country filters State and city and state filters city. plz help me sailaja
1
3,438
thread by: NewGuy | last post Dec 22 '06 by: cassbiz
Have a new job. I am creating dynamic(ajax) web pages that will update our databases. The DBs are on Linux. I have the AJAX built and on Linux. I am able to view my pages. Now I want to start back-ending my DB and was going to use RUBY. I have never used RUBY before. Does anybody out there have any starter code that I could see/use, that...
1
3,218
thread by: NewGuy | last post Apr 1 '07 by: jfranks214
I am using eRuby on a Linux server. I have my Web pages on the server and can access them. 1. I want to query my PostgreSQL DB. 2. Parse the data into an Array 3. Use eRuby to update my Web pages with the Array. Does any body out there have code I could have to get me started?
1
3,830
thread by: sacksey | 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. class CreateRestaurants <...
1
8,382
thread by: sandeep daksh | last post Jul 5 '08 by: acoder
Hi friends can anyone help me out from this situation. The problem has come when i submit a form and click on the resulting image for the detail page and then click back button i got this problem "Web Page Has Expired" .
1
5,430
thread by: bnopl | last post Jul 8 '08 by: improvcornartist
hi all, i am new to ruby.i am working on php and also want to know ruby.my question is how to retrive the browser session id in ruby as i done in php using session_id() method.pls help me to find the browser id.
1
10,791
thread by: icepoint | last post Jun 14 '07 by: improvcornartist
Hey everyone, Can anyone tell me how to make dynamice drop down lists for country and states? I have the models for country and states build and have the country drop down list worked, so how can I make the state list changes corressponding to the change of the country list? etc. Canada -> only canada provinces... Thanks
1
2,805
thread by: Ray99 | last post Oct 9 '08 by: improvcornartist
How does Ruby operator affect overall program readability?
1
3,143
thread by: scriptx | last post Oct 21 '08 by: improvcornartist
Hello Everyone, I am not sure if I posting this to the right forum or not. So, I apologize before hand if this is not the forum for posting this question. I want a script that would run weather in Windows or Linux that will gather the information of a website and save it in a file (maybe to a .xls file). I want to use a program because I...
1
3,466
thread by: mrutyunjaya | last post Jan 18 '09 by: pbmods
Give details how to install ruby-rails on xp-professional, give url from which we can download software
1
5,731
thread by: divyakgowda | last post Jan 22 '09 by: improvcornartist
Hello everyone, I want to read the excel file and store the data into Mysql.I have installed the gem parseexcel.But its not working and i am getting the error as like below ActionController::InvalidAuthenticityToken Request Parameters: {"sheet"=>"0", "afile"=>{"file_data"=>#<File:C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/CGI.3336.0>}} ...
1
4,487
thread by: divyakgowda | last post Jan 27 '09 by: improvcornartist
Hello, I am using Rails 2.0 in which i want to send email.Where do i configure the gmail settings?If i add the settings in environment.rb file as older version,the application is not running.I am using tlsmail gem.Please help me to solve this.I need this setting to be added in rails 2.0 require 'tlsmail'...
1
3,947
thread by: dakshayini | last post Feb 5 '09 by: improvcornartist
Hi, Any one know how to create a notigication Pop up in ruby Onrails. I have a ruby Application where i will be maintaining different roles.if a person sends an event or some message it should get pop up when the other person logins to his dashboard automatically. If any one know about this plz let me know.
1
5,736
thread by: vaibhavideshpandemca | last post Apr 7 '09 by: improvcornartist
How to display the records between 2 dates in ruby on rails I have 2 text boxes where i fill the 2 dates and want to display the records between these 2 dates from the database tables Thanks in advance, vaibhavi,,,
1
3,735
thread by: divyakgowda | last post Apr 11 '09 by: improvcornartist
Hello all, My problem is, for uploading an excel file(.xls file), if i change .txt or any other format file into .xls file, i should be able to handle this and display an error message saying "file selected is not a format" in ruby.Or is there any way that can be done through javascript.Please help me.Its urgent. Thanks, amulyab
1
4,123
thread by: idealfellow | last post Apr 20 '09 by: improvcornartist
Hi All, I need to delete entire column(GB) in excel using ruby code. let me whether i should write some ruby code or is there a way to call an excel macro from ruby whichever is simpler or easy way to maintain. cheers
1
2,333
thread by: dakshayini | last post May 25 '10 by: improvcornartist
Hello, I have one combo box values,depending on the selected value from combo box, i need to retrieve the data from the database.I am using observe_field,Its working fine in Firefox.But in IE(any version),its not working.I am using rails 2.3.5,ruby 1.9.1.How can i make it work on both FF & IE browsers?Help me. Thanks
1
2,480
thread by: mike dr | last post Nov 1 '10 by: improvcornartist
what is its purpose?do i need DBI when data is from a logging device which needs to be displayed in a webpage as a line graph?
1
3,640
thread by: Magudamudi | last post Jun 29 '11 by: improvcornartist
Hi, My aim is to create the Excel file which contains xml data and xsl style.Here is the code to apply the style in xml file. stylesheet_doc = XML::Document.file("./public/upload/Reference_xslt.xsl") stylesheet = LibXSLT::XSLT::Stylesheet.new(stylesheet_doc) xml_doc = XML::Document.file("./public/upload/xml_data.xml") result =...
1
2,290
thread by: Nissan than | last post Apr 10 '12 by: numberwhun
how to combine the date object value(only date) and time object (only time)
1
2,236
thread by: jndman | last post Oct 23 '12 by: Rabbit
Do you guys know any libraries that can give my application access to cloud storage?
1
6,994
stevefloyd
thread by: stevefloyd | last post May 8 '13 by: jimmybrion
Does anyone have a list of their favorite web development resources?
1
6,582
Exequiel
thread by: Exequiel | last post Jun 22 '14 by: Exequiel
Hello friends, How can i get the _searchoutput.html.haml in my views/projects/_searchoutput.html.haml, using the controller projects_controller.erb accessed by my coffee script ajax search code and output it into tbody#search_output in views/projects/index.html.haml for search output.? My code in controllers/projects_controller.erb class...

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.