Displaying 20 results from an estimated 9000 matches similar to: "Rake: How to determine the Rails version?"
2006 Feb 09
4
Setting up Ruby + RubyOnRails on the new intel mac (any feedback?)
Hi
I''m about to attempt to setup RoR on an iMac powered by an Intel core duo.
Before I start, is there anyone who would have some feedback about a similar
setup (and likely, the caveats hidden down there) ?
thanks!
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi,
I''m interested in using a currency conversion web service in my rails
app. Does anyone have a free service that they use and like? I found
this one
http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10
I''ve tried to make a simple, plain Ruby script to connect to this and
get a conversion rate without success.
How do I integrate a webservice into my rails app? I
2006 Jan 16
23
Read data from Excel
A client of mine has a ton of data stored in Excel spreadsheets. I''m
building a web application for her (backed by a real db of course) and want
to import all that data. Is there a library available to read data from
Excel? Is there an easy way to upload the spreadsheets and then read the
data?
Thanks,
Ken Kousen
--
Kenneth A. Kousen, Ph.D.
President
Kousen IT, Inc.
2006 Mar 12
5
AR - Migrations - how to use a varchar as primary key instead of int ?
Hi
I''d like to have a varchar primary key named id instead of the default int
id. Does anyone knows how to specify this from migrations ?
Should I also specify something in the model class ?
thanks!
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060312/797bca4b/attachment.html
2006 May 23
2
Is there anybody use radrails as the editor?
Could anybody told me how to set the rdoc and ri for the radrails?
I am using Windows XP, RadRails 0.63 and Ruby 1.82
I cannot set the rdoc and ri to a directory. Which file should I set
for that under the ruby''s path in the preference in radrails?
Thanks.
--
Best wishes,
Xu Wenhao
2006 May 12
2
Do you store the source of third-parties plugins you rely on in your own version control ?
Hi!
well the subject is telling everything - I''m just curious to know how other
railers handle this (for me the answer is yes, clearly!)
cheers
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060512/0b59b57b/attachment-0001.html
2006 Jan 20
47
SQL Server datetime error
i have a problem with the datetime format of rails. i am unable to save
a dataset to the db. here''s the error message -- the original error
message was in german, so i translated it -- i get:
DBI::DatabaseError: Execute
OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server
Couldn''t convert a char-Datatype to datetime
HRESULT error code:0x80020009
2006 Feb 08
8
[kind of OT] Software Remote connect to MacOS ?
Hi
sorry for the slighty out of topic question but I''m sure someone here will
be able to answer.
Does anyone use some kind of remote connection to connect to MacOS ? I''m
thinking of using VNC but I''d love to hear from other (especially secure)
alternatives.
I''m just fond of textmate, I have a dell laptop which I''d like to use as a
terminal.
kind
2006 Apr 20
11
dynamic mock object anyone?
Hi guys, got this problem with creating such a thing... hope anyone
could help..
the problem:
ok, now i have this mock object that would simulate a external rpc call.
eg
require ''models/xmlrpc_agent''
class XmlrpcAgent
def create(params)
200
end
end
but the value of the value returned is fixed. which is quite hard for me
to test the controller when different
2005 Dec 29
4
Paginate do a Count(*) request before, how access that count value.
Hello,
AV::paginate query first by a count, how access this value in the
controller or view ?
Why ?
Because I''ll like to display the total number or records found w/o
doing another expenssive Count.
Thanks,
2006 Feb 13
6
Form -> File save tutorial
I want to develop a web application that allows a user to input data into a set of forms and then save that data in an XML file format to their hard drive. Can anybody point me to a Ruby\Rails tutorial that would help?
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 17
4
NOOB: Representing linked objects in one form
Given two models:
User
:name
:email
:address_id # foreign key
Address
:line_1
:line_2
:city
etc.
I want to have a form allowing a user to register, in which she''d enter
an address as well, but how do I go about combining both objects into
the one form?
I''m new to this and following along with the Agile Rails book from the
Pragmatic Programmers, but it
2006 Oct 02
13
[Slightly OT] Do you use virtualization in production ?
Hi!
I''ve been using parallels, vmware player, or virtual pc (did not try xen
yet) for development, testing and experimenting with new platforms (and I
must say I love them - copy paste a few files, and I have a clean deployment
box etc)
Since the RailsConf and various talks I''ve seen (like Jason Hoffmann''s
http://svn.joyent.com/public/JasonHoffman-EuroRailsConf.pdf ,
2006 May 23
14
Learn Ruby before Learning Ruby on Rails ?
hello Friends,
I am a newbie to "Ruby or Ruby on Rails". A J2EE application architect
at my day job. A fairly experienced PHP web-developer as well. After
reading into the many articles on Ruby/ROR, have to admit looks pretty
good so far. Really serious about getting into this and possibly
developing some good Web 2.0 applications.
Just wondering the best way to learn Ruby on
2006 Feb 14
4
SSO with IIS?
I have a customer that I''m developing a solution for on RoR. They have IIS
today and use Sharepoint for their intranet. Is it possible to have some
kind of single sign-on between these systems? So when a user is logged in to
ther Sharepoint she will also be logged in to my rails-app? We haven''t
decided yet on what to deploy rails on so I''m open to suggestions... If we
2006 Jan 21
4
Migrations and Time datatype. Bug?
I''ve defined a table with these columns
t.column "some_date", :date, :null => false
t.column "some_time", :time, :null => false
The result in schema.rb is
t.column "some_date", :date, :null => false
t.column "some_time", :time, :default => Sat Jan 01 00:00:00 GMT
Standard Time 2000, :null => false
The time column generates a
2006 Feb 14
20
Adding payment to an app: how hard and risky is it?
Hi all.
I have never implemented online payment and it''s the only thing that
keeps me from accepting a project for a UK based client. (I must reply
quickly!)
While I can afford spending an extra week - or 2 - to learn/try/tune the
payment system, I must be sure to succeed before I accept the contract.
If you''ve already been through that path, any hints, links and/or
2006 May 17
6
newbie wants to know..FasterCSV or just CSV?
I''m trying to grab a CSV file from a user and let them upload it
directly to my database, but doing some minor checks on the data before
saving. Which is the easier way to implement this? CSV or FasterCSV? I
saw that perhaps there were some issues with FasterCSV and csv files
created from Mac versions of Excel.
Anyone have any experience with this and can recommend a newbie friendly
2006 Apr 27
1
Any ruby wrapper for Reuters SSL ?
Hi
Does anyone know of a ruby wrapper for Reuters source sink library (like the
perl one http://search.cpan.org/~cbarkey/Reuters-SSL-0.52/ ) ?
any pointer welcome!
thanks
Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060427/8ec394ad/attachment.html
2007 Nov 20
2
adding an image to a plot
Hi, I'm writing code to generate a plot, in which I draw a series of
rectangles. So my code is of the form
plot.new()
plot.window( ... )
draw rectangle
draw rectangle
...
Is there a way for me to insert a PNG or PDF graphic at a specific
position in the plot (ideally in plot coordinates)? I realize that
this might probably be better done in a separate image editor, but if
it could