473,543 Members | 2,771 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
1,891
thread by: japercaper | last post Nov 12 '07 by: japercaper
I have a Rails app running in production mode that queries a MySQL database. When I update the data in the db (notably the updated_on field), the new date does not show up on the web page (even after I stop and restart Mongrel and Apache2.) On my development machine, all I have to do is refresh the page. What do I need to do on the...
0
2,336
thread by: burttonboarder | last post Nov 14 '07 by: burttonboarder
I'm working on a rails project where I have a table called people and a table called addresses. Each person can have many addresses. I've created a form which includes fields from both the People table and the Addresses table, and should create a new record in both tables upon successful submission. The problem that I'm having is that if the...
0
3,843
thread by: martinmercy2001 | last post Nov 21 '07 by: martinmercy2001
Could any body help me with creating a ring buffer class using a string. use memory circular buffer not an IO buffer. just read, write and seek method. Read method should take anumber and return the string. write method should take a string. seek should take a number and return nuthing. use three member variables a buffer itself as a string,...
0
2,251
thread by: mail2sanand | last post Dec 19 '07 by: mail2sanand
Hi all, I am facing a new issue with oracle and rails. I feel rails is expecting a sequence name associated with all the tables. The actual question is that how can we make rails understand that there is no sequence associated with a model. Coz when I am running RSpecs for some models (connected to oracle database) without sequences,...
0
3,371
thread by: 1978 | last post Jan 4 '08 by: 1978
Hey Guys I need some help. Firstly: Running Rails 2.0.x cPanel Version 11.16.0-RELEASE Shared hosting. My App is not in public_html/ but under home/usr/rails_apps/(rubyapp)
0
1,746
thread by: littlemaster | last post May 25 '10 by: littlemaster
I have created rails application using ajax scaffold. It is easy for CRUD operation. If I use independent table its working perfectly. I have used two tables, which is referring another table. I need to show the parent table value in child table view. For example: User table: id,no,name,marks Dept table: id,userid,dept name, dept no In...
0
5,672
thread by: littlemaster | last post Jun 9 '10 by: littlemaster
The following program will send the mail with specified attachment file.Need to give the absolute path of the file. require "rubygems" require "ruport" require "ruport/util" r = Ruport::Report.new r.add_mailer :default, :host => "192.168.1.1",
0
5,373
thread by: plutojones | last post Jan 7 '13 by: plutojones
I'm looking over a site that is built in a fashion I'd like to do myself and I can't tell if it's built with Ruby on Rails or something else. The site is http://www.listhere.com - can you see what the platform is somehow?
0
6,271
thread by: balvvant | last post Aug 30 '13 by: balvvant
Hi, I am new to rails. We are using rails 3.2 and Ruby 1.9. Till date we are using default ROR logger which logs in a environment specific .log file. But due to some reasons my seniors have decided to redirect these request to a standalone server. The network people have configured a server with port 514. So if the ip of server is 10.10.1.154...
0
6,232
thread by: balvvant | last post Sep 2 '13 by: balvvant
Hi, I am new to rails. We are using rails 3.2 and Ruby 1.9. Till date we are using default ROR logger which logs in a environment specific .log file. But due to some reasons my seniors have decided to redirect these request to a standalone server. The network people have configured a server with port 514. So if the ip of server is 10.10.1.154...
0
6,071
thread by: Zachybear | last post May 8 '14 by: Zachybear
Hello, I recently took on fixing a project that I did not build and I am having trouble starting the thin servers useing: and I get this error: does anyone know what I need to do to fix these errors? I have tried:
0
5,987
Exequiel
thread by: Exequiel | last post May 14 '14 by: Exequiel
I want to run my another web project in a browser but the port localhost:3000 is already in used. how can I add another port or make the port 3000 available again? Any sugestions are appreciated. . thank you. :)
0
6,160
Exequiel
thread by: Exequiel | last post May 17 '14 by: Exequiel
This is my controller personnel_core_controller.rb class PersonnelCoreController < ApplicationController before_action :set_personnel, only: def index @personnel = Personnel.all end def new
0
6,052
Exequiel
thread by: Exequiel | last post Jun 26 '14 by: Exequiel
Hi I have 2 tables in database, and i want to know how i can delete the data in tasks table after i delete the data in projects table, the task table is connected by a project_id in projects table's id, heres the tables. . . Table for projects" Column | Type | Modifiers ...
0
6,429
thread by: PITSTAR | last post Aug 23 '14 by: PITSTAR
My ruby system has 2 pumps offline. How do i get them online
0
6,910
thread by: ramesheee318 | last post Sep 30 '14 by: ramesheee318
Hi Friends, I have gone through many forums but haven't fix below Error.If anyhow know this solution.Please write ur text (Solution) Application language: ruby on rails Tools (java lib) : rjb Error occurred place : frc = FontRenderContext.new(nil, true, true) OR frc = FontRenderContext.new(nil, false, false) . Problem: ...
0
7,137
thread by: fidelio | last post Feb 24 '15 by: fidelio
Dear All, My name is Fidelio, I am an italian cameraman based in Qatar. I am glad to start to be part of such a great community. First of, I am new in programming and don't really have a computer knowledge that goes beyond the basics. I have chosen the Ruby topic cuz it's one of those languages that I ve heard its very useful recently. My...
0
5,603
thread by: chaitanya4b3 | last post Sep 27 '15 by: chaitanya4b3
I am trying to begin website development using Ruby on Rails.. I have worked on command prompt, now upgraded myself to Apptana studio. I want to work further, establish connections with data base. and enhance interface. Can you suggest some ways
0
5,030
thread by: suli | last post Mar 11 '16 by: suli
Hi community, I'm trying to install puma gem v3.1.0 on my Win7 64bit and I keep getting this error: C:\Users\A2>gem install puma --platform=ruby Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing puma: ERROR: Failed to build gem native extension.
0
7,215
thread by: suli | last post Mar 18 '16 by: suli
When I tried to run my Sinatra app, I got this error: C:\Users\A2\Desktop\freetouring_v2>rackup -p 4444 The system cannot find the path specified. The system cannot find the path specified. The system cannot find the path specified. C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/git-version-bump-0.15.1/lib/git-version-b ump.rb:299:in...
0
7,196
thread by: Katinka2017 | last post Aug 4 '17 by: Katinka2017
Hi Bytes community, I hope you’re well. My name is Katinka, I am working in the London OrganiCity team and I wanted to let you know that we launched our Open Call 2017 for experiments last month. I’ve included some information about the project below. What is OrganiCity? OrganiCity is a service for experimentation, which explores how...
0
3,036
thread by: RonWesley | last post Jan 20 '20 by: RonWesley
Hi guys, I normally post a lot of Ruby on Rails builds on pcpartpicker YouTube but this time I've decided to build something in pure Ruby. It's very beginner friendly but might be useful to those who dived straight reverse phone lookup into Rails without spending a ton of time learning the Ruby language. In the video I build a Ruby nba reddit file...
0
2,573
thread by: snowman12 | last post Mar 24 '20 by: snowman12
I'm very new to rails but I do have a intermediate understanding of Java. My question today is: Does it make sense for me to use RoR to build a web app that meets the following criteria: - On selecting an image on the web page (coded to support this web app), the image is transferred to a auto clicker clipboard on the same page - This image...
0
3,699
thread by: snowman12 | last post Apr 11 '20 by: snowman12
Hello all, I am building an ruby on rails application.I am using Rails 2.3.8 Ruby 1.9.1 Mysql 5.0 Win7 64 bit OS My problem is,very often i keep getting this message "Error: Ruby interpreter (CUI) 1.9.1 has stopped working" and my server gets crashed.Its not getting crashed on particular point.After refreshing the page,it will start...
0
4,142
thread by: snowman12 | last post May 13 '20 by: snowman12
I am trying to begin website development using Ruby on Rails.. I have worked on command prompt, now upgraded myself to Apptana studio. I want to click speed test work further, establish connections with data base. and enhance interface. Can you suggest some ways

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.