ON.decode("{name: 'Violet',
occupation: 'character', age: 25 }")
{"occupation"=>"character", "name"=>"Violet", "age"=>25}
(rdb:5) my_json2.class
Hash
Best regards,
Migrate
Frederick Cheung wrote:
> On Jul
Hello all,
I'm trying to send some json data from the browser to the server using
prototype without success. On the server side ActiveSupport::JSON.decode
isn't decoding the data.
Here is the code:
Javacript:
click
Hello all,
I've found the problem. Don't know why but the plugin add two entries
similar to the following to the yml file:
long_ordinal: !ruby/object:Proc {}
Best regards,
Migrate
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You receiv
Hello Fred,
Sorry, beginner question: How can I check what wrong with the file?
Note: I'm not editing the files directly, I'm using translator plugin
(http://github.com/newsdesk/translate/tree/master) to do this so I don't
know exactly where to look.
Thanks.
Best regards,
Migrate
--
Posted
Hello all,
I'm trying to translate my application using the I18N feature and it was
working fine until I added a couple of new entries to the en.yml files.
Now in every action in my application I always get the following error:
TypeError in Account#login
Showing app/views/account/login.rhtml whe
Hello Jonathan,
Thanks for the info but I cannot upgrade to 1.5
because I'm using ruport and ruport only accepts 1.2.3.
Best regards,
Migrate
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hello all,
Matt thanks for the advice but I'm using faster csv 1.2.3 and only
version 1.4 has the option :encoding => 'n'. I cannot upgrade to 1.4
because I'm using ruport and ruport only accepts 1.2.3.
Matthew I've done what you suggested and it worked. Thanks!
Best regards,
Migrate
--
Post
Hello all,
I've update to Rails 2.3.2 and the problem remains.
I've also created a new application, and added just one controller
and FasterCSV to environment.rb (no other plugins are present in the
application) but still it does not work.
I already said here that the error only happens in rail
Dharmdip Rathod wrote:
> it can be issue with your rails version for current application.
Hello Dharmdip,
Do you know any issues between faster csv and rails?
Best regards,
Migrate
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this
Hello Bill,
I'm not sure I understood you. Can you explain further?
The file content has only double quotes.
Best regards,
Migrate
bill walton wrote:
> Hi Migrate,
>
> On Thu, 2009-06-18 at 00:51 +0200, Hu Ma wrote:
>> Hello all,
>> I'm trying to impor
Hello all,
I'm trying to import some csv data (that has latin characters) using
faster csv but I keep getting a MalformedCSVError:
"Unclosed quoted field on line 1."
"/ruby/lib/ruby/gems/1.8/gems/fastercsv-1.2.3/lib/faster_csv.rb:1592:in
`shift'"
I've tested the same code outside of the Rails app
11 matches
Mail list logo