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.
5
10,163
thread by: mpundu | last post Jan 14 '08 by: improvcornartist
This is my form: =========================== <% form_tag :action => 'update', :id => @book.id, :title => @book.title, :price => @book.price, :description => @book.description %> <%= render :partial => 'form' %> <%= submit_tag 'Edit' %> <% end %> ===========================
5
8,450
thread by: susinthaa | last post Mar 6 '09 by: improvcornartist
Hi, I am trying to install watir (ruby gem). But I am getting the following error: ERROR: While executing gem ... (RuntimeError) Error instaling watir: watir requires win32-process >= 0.5.5 Please help me to install the watir.
5
5,881
thread by: littlemaster | last post Jun 11 '10 by: improvcornartist
I have the following code, it is sending text message. I want to attach a file. How to do that? require 'net/smtp' # plain mail smtpclient = Net::SMTP::new( '192.168.1.1' ) # create new object to send mail the_email="From: ruby_using_smtp@webdevel.co.in\nTo:xxxx@bksys.co.in\nSubject:Birthday \n\n"+"This is for demo" #Frame a mail...
6
5,154
thread by: idealfellow | last post Mar 5 '08 by: chandrabhanu
Hi Guys, I have tried out several ways to connect to my MYSQL database thru Ruby on my windows machine. I have used ruby-mysql, mysql-ruby, ruby DBI....but havent been lucky so far, is there any installer kind of a thing to do this stuff! ""I get the following error - mswin32-ruby16.dll was not found"" Can anybody guide me...
6
21,837
thread by: idealfellow | last post Feb 4 '08 by: idealfellow
Hi All, Is there anyway i can call windows Batch file from ruby program. I tried the following line, it failed : cmd.exe /c C:\Documents and Settings\user\Desktop\RUN.bat Suggest me if you have an answer for this. Cheers
6
29,728
thread by: rpcchandu | last post Oct 7 '10 by: MMcCarthy
Hi Coders, I have to redirect from my server to the different server page by simulating the POST method submit from the Controller file, I tried using post_via_redirect, but could not succeed... though redirect_to just redirects to given URL, I need to pass parameters using POST. Configurations: Rails 1.2.3, ruby 1.8.6 (2007-03-13...
6
4,096
thread by: ssharma | last post Nov 2 '12 by: Frinavale
I am using ruby on rails. Hence through my controller I am fetching the list of data(query strings saved in the database) on the basis of some condition. Now I need to execute these queries. Do any one know how to do this?
7
7,109
thread by: vermarajeev | last post Jul 31 '08 by: improvcornartist
Hello All, How do I display ASCII values from A..Z? I tried the following but get some compiler error: def DisplayAscii() for index in 'A'..'Z' do puts ?index end end
7
3,462
thread by: navneet7 | last post Dec 11 '08 by: improvcornartist
I am designing a form (in windows) and I wish to import the names of checkboxes from a database. Can please someone help me out with this?
9
9,861
thread by: divyakgowda | last post Aug 5 '08 by: acoder
Hello, For my ruby on rails application,i need to delete all the temporary files created in /tmp folder.If those files increases, at some point in time, my application stops working unless i delete all session files manually.Is there any way, so that i can keep on deleting those files from the folder automatically or somehow.Please help if...
12
3,136
thread by: nesko | last post Apr 29 '10 by: nesko
Hi! I have just added login feature to my rails application by following the instructions from "Agile Web Development with Rails" but now I am getting strange error (looks to me like some kind of routing problem) under the passenger/apache. It is working fine under webrick. The error is: 500 Internal Server Error The server encountered...

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.