On 8 nov, 23:21, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote:
I meant translation of the content of those attributes, not the name of the
attributes
Sorry for the misunderstanding.
Globalize gem seems to be what you need: https://github.com/svenfuchs/globalize3
--
You received this message
On 09 Nov 2011, at 07:14, Mukesh Singh wrote:
I have setup mongo database and want to know which one would be
best adapter ( mongo_mapper , mongoid, dm-mongo-adapter ) in terms
of Associations, include option for eager-loading .
You're asking which adapter is the best for turning
The 07/11/11, Dave Aronson wrote:
The usual reason for using has_many :through (hmt) is that you need to
attach some information to that relationship. For instance, you may
want to record exactly *when* a given Legal_representative started
representing a given Company, how much they're
I have a very simple application.
I've done all my models using scaffold and they have their own
js.coffee file under assets.
Application.js is:
//= require jquery
//= require jquery_ujs
//= require_tree .
When I run the application the error is:
missing name after . operator
(in
Hi,
I'm facing an issue with my js.erb files.
When I want to use some named routes inside my js.erb files (placed in
the asset/javascript folder) I get an error when I try to precompile the
files .ie:
undefined method `search_url' for #Module:0x101df43bf
How could I use my named route in my
On 9 November 2011 11:56, Mauro mrsan...@gmail.com wrote:
I have a very simple application.
I've done all my models using scaffold and they have their own
js.coffee file under assets.
Application.js is:
//= require jquery
//= require jquery_ujs
//= require_tree .
When I run the
On 9 November 2011 10:56, Mauro mrsan...@gmail.com wrote:
I have a very simple application.
I've done all my models using scaffold and they have their own
js.coffee file under assets.
Application.js is:
//= require jquery
//= require jquery_ujs
//= require_tree .
When I run the
Hi, all.
I'm having a problem installing Rails on Mac OS X 10.6.8. When I issue the
command `$ sudo gem install rails` I get:
code
[Tue Nov 08 23:36:17 dobbin@darkstar:~ ] $ sudo gem install rails
Password:
/usr/local/rvm/rubies/ruby-1.9.3-p0/bin/gem:4: warning: Insecure world
writable dir
On Nov 5, 4:41 am, Jim jim...@gmail.com wrote:
I'm not sure what problem you're trying to solve with an approach like
this, but a quick test confirms that a query such as:
select response
from paths
where '/users/1234' similar to path
would actually work. Of course, it will require
I'm building a new Ruby app with RubyMine. I built a basic app (just a
homepage) and it is running fine. Next step is to get the app talking
to MongoDb. I'm using this tutorial:
http://www.mongodb.org/display/DOCS/Rails+3+-+Getting+Started
also tried this one:
Pls try out this heroku:rake:db:seed
On 08/11/11 3:16 AM, slava mikerin.sl...@gmail.com wrote:
hello,
I am trying to deploy a rails 3.1 app to Heroku and need to run
db:seed
My seeds file has this code
User.seed do |s|
s.email = t...@temp.com
s.password = bigsecret
Opps my mistake try out this heroku rake db:seed
On 09/11/11 10:36 AM, Rameshwar Vyevhare ramesh...@retailrealm.co.uk
wrote:
Pls try out this heroku:rake:db:seed
On 08/11/11 3:16 AM, slava mikerin.sl...@gmail.com wrote:
hello,
I am trying to deploy a rails 3.1 app to Heroku and need to run
On 8/11/11 23:42, Phil Dobbin phildob...@gmail.com wrote:
I'm having a problem installing Rails on Mac OS X 10.6.8. When I issue the
command `$ sudo gem install rails` I get:
[snip]
After banging my head against the wall all night, I ended up installing it
via MacPorts.
Cheers,
Phil...
On 9 November 2011 13:18, Colin Law clan...@googlemail.com wrote:
On 9 November 2011 10:56, Mauro mrsan...@gmail.com wrote:
I have a very simple application.
I've done all my models using scaffold and they have their own
js.coffee file under assets.
Application.js is:
//= require jquery
As per my knowledge mongoid would be best adapter for Mongo.
From: Mukesh Singh mukesh23.si...@gmail.com
Reply-To: rubyonrails-talk@googlegroups.com
Date: Wed, 9 Nov 2011 11:44:45 +0530
To: rubyonrails-talk@googlegroups.com
Subject: [Rails] Mongo adapter
I have setup mongo database and
Thanks for suggestions.I have decided to use mognoid
On Wed, Nov 9, 2011 at 11:55 AM, Rameshwar Vyevhare
ramesh...@retailrealm.co.uk wrote:
As per my knowledge mongoid would be best adapter for Mongo.
From: Mukesh Singh mukesh23.si...@gmail.com
Reply-To: rubyonrails-talk@googlegroups.com
I think you need to ask a more specific question. I'd never heard of DICOM
before I read this and I'm very new to ROR. But the attachment seemed very
helpful to me.
On Tue, Nov 8, 2011 at 11:17 PM, Rajashekar R. li...@ruby-forum.com wrote:
Rajashekar R. wrote in post #1031004:
Scott Ribe
On 9 November 2011 04:56, Rajashekar R. li...@ruby-forum.com wrote:
How can i implement the dicom in ruby on rails. plz send the code
Did you try google for help? Searching for rails dicom and gem dicom
gave lots of hits that look interesting. I imagine few if any here
know about dicom.
Colin
heroku:rake:db:seed
command does not exist. Are you sure about this sintax?
On Tue, Nov 8, 2011 at 9:06 PM, Rameshwar Vyevhare
ramesh...@retailrealm.co.uk wrote:
Pls try out this heroku:rake:db:seed
On 08/11/11 3:16 AM, slava mikerin.sl...@gmail.com wrote:
hello,
I am trying to deploy a
I did. This is the code that has problems, that I described in first post.
Running heroku rake db:seed is what caused the problem in the first place.
On Tue, Nov 8, 2011 at 9:08 PM, Rameshwar Vyevhare
ramesh...@retailrealm.co.uk wrote:
Opps my mistake try out this heroku rake db:seed
On
On 9 November 2011 13:38, Mauro mrsan...@gmail.com wrote:
On 9 November 2011 13:18, Colin Law clan...@googlemail.com wrote:
On 9 November 2011 10:56, Mauro mrsan...@gmail.com wrote:
I have a very simple application.
I've done all my models using scaffold and they have their own
js.coffee file
Hi guys,
I'm having a bit of a frustrating problem -- I've got two models,
drivers and incidents. A driver can have many incidents and the form for
drivers includes a section for incidents (using fields_for). However, a
driver can also have zero incidents, so on the form there is a radio
button
Hi there,
Has anyone tried installing the CS Toolbox from Cgran with gnuradio3.3.0
version.
https://cgran.org/wiki/CompSens
I am unable to install it. Has anyone had similar issues?
Thanks,
T. Mat
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are
Hi Jeff
Maybe you should try reading this
http://api.rubyonrails.org/classes/ActiveRecord/NestedAttributes/ClassMethods.html
and check carefully the reject if option
Hope this can help you
On 9 nov, 16:42, Jeff Miller li...@ruby-forum.com wrote:
Hi guys,
I'm having a bit of a frustrating
Hi,
I have mysql db encoding = UTF-8 with the table say T and field
fld with one record. When I do T.first.fld on rails console it gives
me hülloü. Umlauts gets display properly in the database, rails
console, development logs and browser. I have an API which uses
xml.builder to create the xml and
BAH! I found my problem after looking at my controller code with a fresh
mind. After the @driver.save, there was also a @driver.valid? that was
determining the type of json response. Ugh... so it was completely
unrelated. Well, at least I know all about how nested models work now :)
Thanks,
thank Kristian,Colin and Mircea for your post.
i will try all the solution.
Mat
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to
this is my output after trying to install rvm 1.9.2 on oneadmin home
user path(/srv/cloud/one).
oneadmin@oneadmin:~$ rvm install 1.9.2
Installing Ruby from source to:
/srv/cloud/one/.rvm/rubies/ruby-1.9.2-p290, this may take a while
depending on your cpu(s)...
ruby-1.9.2-p290 -
this the ouput of rvm logfile.
oneadmin@oneadmin:~$ cat
/srv/cloud/one/.rvm/log/ruby-1.9.2-p290/rubygems.install.log
[2011-11-10 10:00:43]
this output for rvm extract.log
oneadmin@oneadmin:~$ cat
/srv/cloud/one/.rvm/log/ruby-1.9.2-p290/rubygems.extract.log
[2011-11-10 10:00:43] gunzip
/srv/cloud/one/.rvm/archives/rubygems-1.8.10.tgz | tar xf - -C
/srv/cloud/one/.rvm/src
gzip: stdin: not in gzip format
tar: This does not look
below is addition information
oneadmin@oneadmin:~$ ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-linux]
oneadmin@oneadmin:~$ rvm rubygems latest
Retrieving rubygems-1.8.10
Extracting rubygems-1.8.10 ...
ERROR: Error running 'gunzip
/srv/cloud/one/.rvm/archives/rubygems-1.8.10.tgz
i already find the solution to install rubygems to rvm.i download
rubygems manualy and extract to .rvm/src. then install rvm 1.9.2
again.the rubygems install successfull but when i test gem by trying to
install rails the same error display.i also try the zlib troubleshooting
on part8 provide
hello,
I am writing a js/coffee file that gets erb handling and I need to use
a url helper inside this file
if write
..
url: '%= url_for(:action = :index) %'
I get an error:
NoMethodError Exception: undefined method `url_for' for ##Class:
0xbdbb068:0xeed1eb8
self.class
#Class:0xbdbb068
Hi,
In one of my apps, app 1 I'm rendering html content that is generated
with another of my apps, app 2. This content generated in app2 is stored
in the public folder of app 1. It has to be stored there, it cannot be
requested by app 1 in real time. It is basically one index.html and
images and
34 matches
Mail list logo