Hello,
Thanks for the answer.
I always worked in windows. I developed my rails application on my
windows environment.
Now, I have a Linux environment where I would like to put my application
running.
To do that, Is it only necessary to pack my application directory, copy
the packed file to
Hello,
I developed a Rails 3.0 application on Windows. It connects to a couchDB
database. Everything works fine.
Now, I would like to take my application and put it on another machine
which runs under Linux.
I already migrated the database to this new machine.
What is the best solution to move my
.
Thanks
Regards
Colin Law wrote in post #1064223:
On 12 June 2012 14:49, Paulo Carvalho li...@ruby-forum.com wrote:
I've tried several ways to do it but, until now, I was not able to
cmd = cmd /c start ' + f1 + '
system (cmd)
But no one of these solutions has worked.
Have you tried
Hello,
In my rails application, I have a file which name is: d:/Copy of
t.txt.
I want to open it with the default program.
This file is a TXT file but it can be another kind of file (png, pdf,
etc) and can have, or not, white spaces on his path/name.
I've tried several ways to do it but, until
Hello,
Thanks for your answer. However, still not working...
f1 = d:/Copy of t.txt
f1 = f1.gsub( , \\ )
#system %{cmd /c start #{f1}}
#cmd = 'cmd /c start ' + f1 + ''
#cmd = 'cmd /c start ' + f1 + ''
#cmd = cmd /c start ' + f1 + '
cmd = cmd /c start ' + f1 + '
system (cmd)
Oscar Del Ben wrote
Hello,
In my rails application, I am using couchrest_model to connect to a
couchDB database.
I have a model like this:
[code]
class Author CouchRest::Model::Base
property :id, Integer
property :title, String
property :first_name, String
property :last_name, String
# view to get
Hello,
I am writing a RoR application that connects to a couchDB database using
couchrest_model.
The definition of my model is the following one:
class BdsDataAuthor CouchRest::Model::Base
property :id, Integer
property :first_name, String
property :last_name, String
end
I would like
Thanks for your answer.
I will try the properties_with_values method to see if it returns what I
want.
Best regards
Matt Jones wrote in post #1061503:
On Monday, 21 May 2012 01:02:43 UTC-5, Ruby-Forum.com User wrote:
property :first_name, String
Any idea/suggestion to solve this problem?
Hello
In my RoR application, I am using Couchrest_model to access a CouchDB
database.
I have a model which represents an scientific Article.
I am going to simplify my model to explain it better. An article can
have a title, a year and one or more authors.
In the couchDB database, an article can
Hello
I am writing a RoR application which connects to a noSQL database
(couchDB).
In the database, I have an author document. The author has a first_name
and a last_name. It also have inside another document: a book. The book
has a title and a year of publication.
Example:
{
author {
Hello
I am developing an application on rails using a couchDB database. I
already can connect to the database and view some information.
Now I am trying to create a new object of my model.
My model is named author. My controller is named authors.
The code of my model is the following one:
Thanks a lot for your help.
This little = was missing and I was not able to see it.
Best regards.
Colin Law wrote in post #1060124:
On 9 May 2012 11:08, Paulo Carvalho li...@ruby-forum.com wrote:
[code]
view_by :id,
[quote]
end
% form_for @author do |f| %
Try %= form_for
12 matches
Mail list logo