| |
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,...
|
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...
|
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",
|
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!!
|
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
|
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
|
thread by: Sohan J |
last post Nov 2 '10 by: Sohan J
Hey guys, I'm just starting out with Rails, and I'm trying to build a tool that acts as a server for collecting log output across many machines. I was wondering if anyone could point me in the right direction of how to continuously post text to a rails page.
For example, I have a few machines that continuously run cron jobs and other scripts. ...
|
| |
thread by: littlemaster |
last post Nov 10 '10 by: littlemaster
scenario:
---------
Need to upload the gpg encrypted file.
Get that file and do decryption and store the output in a file
Then extract that file and get the actual output
Problem:
-----------
|
thread by: cwinay |
last post Dec 14 '10 by: cwinay
Hi all,
This is not specific to Ruby on Rails but a generic question regarding RESTful implementation. I learned that RR guys are best to seek help from.
There are couple of conceptual questions regarding how to implement web-service interfaces the RESTful way.
Suppose I create a RESTful service to expose books as entity. Then
1. When...
|
thread by: Peter Moh |
last post Apr 27 '11 by: Peter Moh
I use form_remote_tag and text_field_tag to send select scope to controller.
It returns a long string instead of a data set (collection).
Please teach me how to use input field to control dynamic finder and return a "data set' object. So the returning object can be display in table with gird, paging....
Thanks.
Code:
class...
|
thread by: Amit Bobade |
last post May 26 '11 by: Amit Bobade
I am new to ruby. I am using Selenium with ruby. There is a condition where I am checking for the equality of the strings. When I am equating the strings with
assert_equal(String1, String2)
Then it is showing error: AssertionFailedError
So please tell me, when does "AssertionFailedError" error occur in ruby?
|
thread by: Wiinie |
last post Jun 10 '11 by: Wiinie
Hi, I am new in Rails, and now i have a problem to take data from one of tables in DB
This is my code:
//user model
belongs_to season
belongs_to album
has_many albums
|
thread by: Wiinie |
last post Jun 10 '11 by: Wiinie
i have this error .. when i try to take a value from other table. plus, in the terminal, it shows "select "users".* from users.
picture - album one-to-many relationship
def self.pic
Picture.all(joins => :album, :select => "album.image" )
end
|
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'
|
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
|
| |
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
|
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...
|
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"
|
thread by: jaffer123 |
last post Jun 19 '12 by: jaffer123
Hey ,
Im getting an error while i tried to deploy a simple rail app . Please help me out . Its really urgent for me . got stuck up from last 2 days because of this error.
thanks in advance,
Jaffer
|
thread by: jpstokes |
last post Jul 3 '12 by: jpstokes
I have a table called 'Wbs'. I've generate the controller which works fine when executing from the command line.
Example:
irb>Wbs <enter>
Wbs(id: integer, description: string, project_id: integer, wbs_no: string, published: boolean, created_at: datetime, updated_at: datetime))
|
thread by: rubyguage48 |
last post Aug 14 '12 by: rubyguage48
I seem to be stuck on a very steep learning curve in my quest to learn rails ... essentially from tutorials and the like on the web ... my profession is accounting so please excuse the lack of sophistication in my attempt to speak rails or for that matter code it.
I subscribed to Ryan Bate' web site and got much of the idea and knowledge on how...
|
thread by: Stereot |
last post Oct 2 '12 by: Stereot
Hi everyone!
I'm incredibly excited about learning RoR 3, but recently run into one particular problem that I'm unable to fix.
I get "Can't connect to MySQL server on 'localhost' (10061)" whenever I run Rails server and try to access anything beyond an intro page on localhost:3000.
I read tons of explanations for this on the net and tried...
|
thread by: hopewise |
last post Oct 29 '12 by: hopewise
I'm trying to save an image from a Flash AS3 to my server as a jpg file. I found some PHP code to do this, but I want to do this in Ruby. I'm not quite sure how to convert the following code to Ruby. It's mainly the $GLOBALS part I don't know how to convert.
<?php
if ( isset ( $GLOBALS )) {
// get bytearray $im = $GLOBALS;
// save...
|
| |
thread by: ShruthiR |
last post Dec 20 '12 by: ShruthiR
I am using ubuntu 10.10. In my rails 3.1 project, i am not able to upload any type of image files. While uploading an image file it shows an validation error like
/tmp/image1.jpg is not recognized by the 'identify' command.
My ruby version is,
ruby 1.9.3p327
I have installed both ImageMagick & rmagick gem & some other libdev tools. Now...
|
thread by: MysteryMoo |
last post Feb 17 '23 by: MysteryMoo
Hi, I have a Ruby system with 2 registers, one is a slave the other the master. The owner inadvertently lane locked the slave and I can't figure out how to unlock it, the master has a lock lane option, but no unlock my slave! I tried touching all over the touch screen but nothing pops up. Please help me set the slave free??
|