[Rails] Re: undefined method `stringify_keys' for #String:0x007fe8a3ba0a48

2013-05-21 Thread Frederick Cheung
On Tuesday, May 21, 2013 12:02:20 AM UTC+1, John Merlino wrote: From my understanding, you can pass a block to the link_to helper, but the following code gives me an error undefined method `stringify_keys' for #String:0x007fe8a3ba0a48. I don't think you can pass both a block content as

[Rails] [ANN] Respect for Rails 0.1.0 is out!

2013-05-21 Thread Nicolas Desprès
Hi, Just to let you know that I have just released a new Rails plug-in called: Respect for Rails. Never feel the need to document your REST API while still developing it because a colleague of yours is making a mobile app client at the same time? If yes, then this gem is for you. You: -

[Rails] Re: gem install rails ERROR

2013-05-21 Thread Majid L.
The samething happened when I try : sudo gem install rails I have rvm installed, how should I use it ? thanks -- 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 unsubscribe from this group and

Re: [Rails] Re: gem install rails ERROR

2013-05-21 Thread Arvind Vyas
gem install rails --version=4.0.0.rc1 version what ever you want On Tue, May 21, 2013 at 4:19 PM, Majid L. li...@ruby-forum.com wrote: The samething happened when I try : sudo gem install rails I have rvm installed, how should I use it ? thanks -- Posted via

Re: [Rails] Re: Help needed - No route matches [GET] /draw/load

2013-05-21 Thread mike
On Tuesday, May 21, 2013 1:35:37 AM UTC-4, tamouse wrote: On Tue, May 21, 2013 at 12:01 AM, Rochit Sen li...@ruby-forum.comjavascript: wrote: Rochit Sen wrote in post #1109638: mike wrote in post #1109637: On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:

Re: [Rails] Re: Help needed - No route matches [GET] /draw/load

2013-05-21 Thread mike
On Tuesday, May 21, 2013 1:35:37 AM UTC-4, tamouse wrote: On Tue, May 21, 2013 at 12:01 AM, Rochit Sen li...@ruby-forum.comjavascript: wrote: Rochit Sen wrote in post #1109638: mike wrote in post #1109637: On Monday, May 20, 2013 1:26:20 PM UTC-4, Ruby-Forum.com User wrote:

[Rails] Facebook authentication

2013-05-21 Thread Maddy
Hi Folks, Am using *rails gem koala* for facebook authentication. It works fine. But when my facebook account logged out it doesn't works in my application. I have user access_token and user_id and how can i access user photos using their access_token? Please advice. Thank you. -- You

[Rails] Re: acts_as_list crashes with non-numeric id

2013-05-21 Thread mike
On Monday, May 20, 2013 11:19:40 PM UTC-4, Ruby-Forum.com User wrote: Robert Walker wrote in post #1109609: For future reference this is one of those times that fighting Rails conventions makes your life more difficult as a Rails developer. I've done quite a few apps with non-numeric

[Rails] Re: acts_as_list crashes with non-numeric id

2013-05-21 Thread Greg Willits
mike wrote in post #1109708: On Monday, May 20, 2013 11:19:40 PM UTC-4, Ruby-Forum.com User wrote: If you really want to fix the problem the I suggest you fork the foreign Thanks to both -- gw -- Posted via http://www.ruby-forum.com/. The position column in the mapped table needs to

Re: [Rails] Re: Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?

2013-05-21 Thread dave
Yes to your statement on rvm not being a fetcher of various packages. I expressed it improperly rather then being confused :{ Here is the link from rvm on how to get the mysql database from mysql site with their recommendation which i followed leading to this raised issue:

[Rails] Re: Re: Help needed - No route matches [GET] /draw/load

2013-05-21 Thread Rochit Sen
mike wrote in post #1109705: On Tuesday, May 21, 2013 1:35:37 AM UTC-4, tamouse wrote: case, I looked at the guide and also entered: get 'draw#load' This is still not working. Can someone please send me a working example or try similar thing themselves. I am really stuck on this.

[Rails] yaml and ip addresses

2013-05-21 Thread John Merlino
I was using this code url = http://#{agent_host}:#{agent_port}/home/create_unit?; And it worked fine in development but for my config.yml, I was specifying localhost for agent_host. However in production, agent_host is an actual ip address and it just wouldn't work. So I had to

[Rails] [ANN] Brakeman 2.0 Released: Static analysis security scanner for Rails apps

2013-05-21 Thread Justin Collins
Brakeman 2.0 has been released! Some changes, especially to JSON reports, may break external tools. http://brakemanscanner.org # What it is Brakeman finds potential vulnerabilities in Rails applications by scanning the source code. No deployment or application stack required. Brakeman searches

Re: [Rails] yaml and ip addresses

2013-05-21 Thread Norbert Melzer
Use for strings if they are ambitious, 127.0.0.1 for example. Am 21.05.2013 18:27 schrieb John Merlino stoici...@aol.com: I was using this code url = http://#{agent_host}:#{agent_port}/home/create_unit?; And it worked fine in development but for my config.yml, I was specifying

[Rails] Senior Rails Developer (Job opportunity based in Singapore

2013-05-21 Thread Perlyn Per
Hi Rubyist, I am a recruiter who specializes in Web and mobile technology in Singapore. I was wondering if you will be keen to work and live in Singapore. We call it the little red dot because it is a small cosmopolitan country. Please find the link below to find out more about working and

[Rails] How to develop an authentication/authorization plugin that I can use for multiple projects

2013-05-21 Thread Mati M.
I am a newbie for RoR but I liked it so far. For the current project I already developed an authenticaion page where the user will be authenticated before and after login. I know that I will be doing more projects on RoR in the coming weeks as well and I don't want to copy paste my codes to enable

[Rails] Re: How to develop an authentication/authorization plugin that I can use for multiple projects

2013-05-21 Thread Robert Walker
Mati M. wrote in post #1109763: I am a newbie for RoR but I liked it so far. For the current project I already developed an authenticaion page where the user will be authenticated before and after login. I know that I will be doing more projects on RoR in the coming weeks as well and I don't

[Rails] Re: How to develop an authentication/authorization plugin that I can use for multiple projects

2013-05-21 Thread Mati M.
Thanks Robert. So can I use https://github.com/ryanb/cancan for both authentication and authorization ? Or do I have to use 2 gems? Thanks -- 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

[Rails] Re: How to develop an authentication/authorization plugin that I can use for multiple projects

2013-05-21 Thread Mati M.
You're really talking about two separate things here. Authentication and Authorization. I personally use OmniAuth for authentication and CanCan for authorization. To me this is an excellent combination for most of my needs. https://github.com/ryanb/cancan Thanks Robert. So can I use

[Rails] Re: How to develop an authentication/authorization plugin that I can use for multiple projects

2013-05-21 Thread Robert Walker
Mati M. wrote in post #1109768: You're really talking about two separate things here. Authentication and Authorization. I personally use OmniAuth for authentication and CanCan for authorization. To me this is an excellent combination for most of my needs. https://github.com/ryanb/cancan

[Rails] Re: Make a column data unique for each user_id

2013-05-21 Thread Robert Walker
Matt Jones wrote in post #1109607: On Saturday, 18 May 2013 11:14:35 UTC-4, Denny Mueller wrote: belongs_to :user 1 00011 2 00021 3 00012 4 00013 5