Re: [Rails] update the index view ajax

2013-01-14 Thread Colin Law
On 15 January 2013 02:29, Julien Estebane wrote: > Dear rails mailing list, > > First a big thank you to everyone for you past, present an future help > learned a lot fro here. > > I saw some relater threads on this but I need some more direct answers. > > I generated with scaffold an object

[Rails] Re: Need help even generating a new app

2013-01-14 Thread Josh Aronoff
OK I went the Homebrew route, after some googling and tried to update my 1.8.7 Ruby to 1.9.3 like you mentioned and I'm STILL running into a permissions thing with my Library and that Gems directory. After running $ gem install rails bundler unicorn pg I get this: Permission denied -

[Rails] Re: Need help even generating a new app

2013-01-14 Thread Josh Aronoff
Ok. got to Step 3: and then ran into this:: Installing yaml-0.1.4... BUILD FAILED Inspect or clean up the working tree at /var/folders/3r/hdtty71s32bd26yrzyq4m5lrgn/T/ruby-build.20130114234238.25080 Results logged to /var/folders/3r/hdtty71s32bd26yrzyq4m5lrgn/T/ruby-build.20130114

[Rails] Re: Need help even generating a new app

2013-01-14 Thread Josh Aronoff
thank you! I'll try this and let you know how it went!! Thanks for responding! -- 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 rubyonrails-talk@googlegroups.

Re: [Rails] update the index view ajax

2013-01-14 Thread Julien Estebane
Thanks Dheeraj but I don't think this is what im looking for as my app runs on heroku. I was hoping there would be a gem that solves this problem -- 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 rubyon

Re: [Rails] update the index view ajax

2013-01-14 Thread Dheeraj Kumar
Use Faye. http://faye.jcoglan.com/ -- Dheeraj Kumar On Tuesday 15 January 2013 at 7:59 AM, Julien Estebane wrote: > Dear rails mailing list, > > First a big thank you to everyone for you past, present an future help > learned a lot fro here. > > I saw some relater threads on this but I

[Rails] Re: Need help even generating a new app

2013-01-14 Thread Robert Walker
Robert Walker wrote in post #1092320: > Step 2: Install and configure rbenv and ruby-build using Homebrew. > > $ brew install rbenv > $ brew install ruby-build Oh! And, don't forget to set the newly installed Ruby as your default Ruby version: $ rbenv global 1.9.3-p237 or $ rbenv local 1.9.3-p

[Rails] Re: Need help even generating a new app

2013-01-14 Thread Robert Walker
Josh Aronoff wrote in post #1092274: > I'm having trouble even installing new rails apps. I get to the Bundle > run, and it errors on Json, here's what my error says. I'm new to ALL of > this, including Terminal commands, etc. Hope someone can help me out. > Runs the Bundler then I error out at

[Rails] update the index view ajax

2013-01-14 Thread Julien Estebane
Dear rails mailing list, First a big thank you to everyone for you past, present an future help learned a lot fro here. I saw some relater threads on this but I need some more direct answers. I generated with scaffold an object which has multiple attributes. Some of those attributes in the

[Rails] Need help even generating a new app

2013-01-14 Thread Josh Aronoff
I'm having trouble even installing new rails apps. I get to the Bundle run, and it errors on Json, here's what my error says. I'm new to ALL of this, including Terminal commands, etc. Hope someone can help me out. Runs the Bundler then I error out at this: "Installing json (1.7.6) with native

Re: [Rails] ActiveResource: Disallowed type attribute: "symbol" in Rails 3.2.11

2013-01-14 Thread Paul
Thanks for the explanation. That is useful. My problem now is that it appears that I can no longer use ActiveResource to consume this web service. Note that this is a trusted web service: my Rails app is initiating the request using ActiveResource and I'm using a hardcoded URL that definitely goes

Re: [Rails] ActiveResource: Disallowed type attribute: "symbol" in Rails 3.2.11

2013-01-14 Thread Jordon Bedwell
On Mon, Jan 14, 2013 at 8:59 AM, Paul wrote: > I didn't quite understand what you mean by "that fix". Do you mean the > security fix which caused my problem or the patch described by the blog post > I mentioned above which might relieve my problem? > > I've tracked down the line that I'm receiving

Re: [Rails] how to copy data from mysql to postgres?

2013-01-14 Thread Walter Lee Davis
I really like yaml_db for this. I have only used it for SQLite to MySQL and MySQL to MySQL, but it works smoothly and quickly, and in my case, did not flinch at 2M records in a table. Walter On Jan 14, 2013, at 7:06 AM, Fahim Patel wrote: > > Hi all, > > Is there any gem to copy data from my

Re: [Rails] ActiveResource: Disallowed type attribute: "symbol" in Rails 3.2.11

2013-01-14 Thread Paul
Thanks for the reply, Jordon. I didn't quite understand what you mean by "that fix". Do you mean the security fix which caused my problem or the patch described by the blog post I mentioned above which might relieve my problem? I've tracked down the line that I'm receiving from the web service th

Re: [Rails] ActiveResource: Disallowed type attribute: "symbol" in Rails 3.2.11

2013-01-14 Thread Jordon Bedwell
On Mon, Jan 14, 2013 at 8:23 AM, Paul wrote: > Has anyone started seeing the error: > > Disallowed type attribute: "symbol" > I found this blog entry which seems to completely describe the problem: > http://techtime.getharvest.com/blog/activeresource-xml-bug-fix-for-rails-3-dot-0-19 > but it claim

[Rails] ActiveResource: Disallowed type attribute: "symbol" in Rails 3.2.11

2013-01-14 Thread Paul
Has anyone started seeing the error: Disallowed type attribute: "symbol" when making an ActiveResource call after upgrading to Rails 3.2.11? I found this blog entry which seems to completely describe the problem: http://techtime.getharvest.com/blog/activeresource-xml-bug-fix-for-rails-3-dot-0-19

Re: [Rails] how to copy data from mysql to postgres?

2013-01-14 Thread Fahim Patel
Thanks lot for reply. Fahim On Monday, January 14, 2013 6:19:17 PM UTC+5:30, Rodrigo Mendonça wrote: > > use gem taps > > 2013/1/14 Colin Law > > >> On 14 January 2013 12:06, Fahim Patel > >> wrote: >> > >> > Hi all, >> > >> > Is there any gem to copy data from mysql to postgres ? >> > I search

Re: [Rails] how to copy data from mysql to postgres?

2013-01-14 Thread Rodrigo Mendonça
use gem taps 2013/1/14 Colin Law > On 14 January 2013 12:06, Fahim Patel wrote: > > > > Hi all, > > > > Is there any gem to copy data from mysql to postgres ? > > I search lot but i didn't get any thing . > > http://en.wikibooks.org/wiki/Converting_MySQL_to_PostgreSQL describes > how to do a d

Re: [Rails] how to copy data from mysql to postgres?

2013-01-14 Thread Colin Law
On 14 January 2013 12:06, Fahim Patel wrote: > > Hi all, > > Is there any gem to copy data from mysql to postgres ? > I search lot but i didn't get any thing . http://en.wikibooks.org/wiki/Converting_MySQL_to_PostgreSQL describes how to do a dump from mysql and restore to postgres but I don't se

Re: [Rails] how to copy data from mysql to postgres?

2013-01-14 Thread Fahim Patel
Thanks lot for reply. Few months ago i have studied about one gem which do this work, but i forget the name. Did any one know about this ? On Monday, January 14, 2013 5:42:48 PM UTC+5:30, Jordon Bedwell wrote: > > On Mon, Jan 14, 2013 at 6:06 AM, Fahim Patel > > wrote: > > Is there any gem to c

Re: [Rails] how to copy data from mysql to postgres?

2013-01-14 Thread Jordon Bedwell
On Mon, Jan 14, 2013 at 6:06 AM, Fahim Patel wrote: > Is there any gem to copy data from mysql to postgres ? > I search lot but i didn't get any thing . You're gonna have to figure that one out yourself by using 2 models and some clever trickery, or you might be able to dump the data and import

[Rails] how to copy data from mysql to postgres?

2013-01-14 Thread Fahim Patel
Hi all, Is there any gem to copy data from mysql to postgres ? I search lot but i didn't get any thing . Thanks Fahim -- 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 rubyonrails-talk@googlegroups.

Re: [Rails] [Rails 3.2] How to extend a gem model

2013-01-14 Thread Tommaso Visconti
Erwin ha scritto: I am using the gem 'acts-as-taggable-on' ( mbleigh) and I need to extend the Tag model to translate the tag name with Globalize How can I add "translates :name" into ActsAsTaggableOn::Tag ? I can fork the gem and modify my version, but is there any way to do it simply with "exte

[Rails] [Rails 3.2] How to extend a gem model

2013-01-14 Thread Erwin
I am using the gem 'acts-as-taggable-on' ( mbleigh) and I need to extend the Tag model to translate the tag name with Globalize How can I add "translates :name" into ActsAsTaggableOn::Tag ? I can fork the gem and modify my version, but is there any way to do it simply with "extend ActiveSupp