[Rails] OAuth2 client credentials grant error UnsupportedAuthorizationScheme

2014-05-22 Thread Usha Murali
Dear ALL, Anyone have come accross the following error, your comments would be of great help, plz suggest on this,OAuth2::Error ({ErrorCode: UnsupportedAuthorizationScheme,ErrorMessage:Only 'Bearer' scheme is supported for Authorization header.})* Any help is greatlly appreciated Thanks

Re: [Rails] Ruby On Rails

2014-05-22 Thread Duong vong veasna
Thanks Loganathan and Matt's Now it work. veasna On Wednesday, May 21, 2014 9:28:34 PM UTC-7, Carlos Mathiasen wrote: Maybe you should look the rails guides to resolve your problem[0] TL:DR: You just need to update config/database.yml file with the correct authentication params for your

[Rails] Rails create login page

2014-05-22 Thread Duong vong veasna
Dear all rails developers, I want to create a login page. Could any one show me how to create a signup and signin pages. i have try follow many websites but i can not do it. please help me, thanks, veasna -- You received this message because you are subscribed to the Google Groups Ruby on

Re: [Rails] Rails create login page

2014-05-22 Thread Colin Law
On 22 May 2014 09:40, Duong vong veasna veasnakhme...@gmail.com wrote: Dear all rails developers, I want to create a login page. Could any one show me how to create a signup and signin pages. i have try follow many websites but i can not do it. please help me, thanks, I assume that you are

[Rails] Ticketing Gem in Rails

2014-05-22 Thread Ankur Kumar
I am looking for details about any simple ticketing gem which can do following: -Track received and sent notifications between two entities -Assign status - (open/closed/resolved) etc to these notifications -Update existing ticket status with follow up messages Can someone suggest if there are

[Rails] Use table elements

2014-05-22 Thread Fab Forestier
Sorry th etitle of the topic isn't very clear but it's difficult to summarize my problem! I made a view without model but I display in table the content of a variable named '@operations'. So each line corresponds to an operation. In my table I have also a column with a button for each line. When

Re: [Rails] Use table elements

2014-05-22 Thread Colin Law
On 22 May 2014 13:32, Fab Forestier li...@ruby-forum.com wrote: Sorry th etitle of the topic isn't very clear but it's difficult to summarize my problem! I made a view without model but I display in table the content of a variable named '@operations'. So each line corresponds to an operation.

[Rails] Re: Can ActiveRecord::Base.connection.schema_search_path be set per process?

2014-05-22 Thread Reginaldo Junior
One more thing guys, could someone please tell me if the ORM will need to re-load its schema( table metadata) on each request if I set the Postgres search path? Em domingo, 18 de maio de 2014 23h18min30s UTC-3, Reginaldo Junior escreveu: I am building an app that every company has it own

[Rails] Re: Use table elements

2014-05-22 Thread Fab Forestier
Colin Law wrote in post #1146780: The first question is whether you need to use a form, do you need to post data, or is each button effectively just a link? Colin No this table just allow users to show the differents existing operations and the if they want to modify it they have to click

Re: [Rails] Re: Use table elements

2014-05-22 Thread Colin Law
On 22 May 2014 14:09, Fab Forestier li...@ruby-forum.com wrote: Colin Law wrote in post #1146780: The first question is whether you need to use a form, do you need to post data, or is each button effectively just a link? Colin No this table just allow users to show the differents existing

[Rails] Re: Re: Use table elements

2014-05-22 Thread Fab Forestier
Colin Law wrote in post #1146785: I think so. You can use button_to do invoke the action, and pass the operation number as a parameter or in the url. If you look at the docs for button_to and google it to find more examples you will surely find examples that meet your needs. Colin My

[Rails] To create a Ruby on Rails app, does back-end need to occur before front-end?

2014-05-22 Thread Jordan Clarke
To create a Ruby on Rails app, does back-end need to occur before front-end? Or can front-end be completed in HTML/CSS before back-end is started? OR...must they be worked on concurrently? Basically, I'm working with a front-end dev, Matt, and a back-end RoR developer, Sam. Matt and Sam have

Re: [Rails] To create a Ruby on Rails app, does back-end need to occur before front-end?

2014-05-22 Thread Walter Lee Davis
On May 22, 2014, at 10:00 AM, Jordan Clarke wrote: To create a Ruby on Rails app, does back-end need to occur before front-end? Or can front-end be completed in HTML/CSS before back-end is started? OR...must they be worked on concurrently? Basically, I'm working with a front-end dev, Matt,

[Rails] Re: To create a Ruby on Rails app, does back-end need to occur before front-end?

2014-05-22 Thread Jordan Clarke
Thanks for the advice, Walter. Makes a lot of sense! Should I get Sam to take a look at the UI PSDs, have him create the foundation / architecture in RoR for the web app, and from there, he can request which HTML/CSS snippets and parts are needed? Could that work? One thing I should've also

Re: [Rails] Re: Re: Use table elements

2014-05-22 Thread Colin Law
On 22 May 2014 14:47, Fab Forestier li...@ruby-forum.com wrote: Colin Law wrote in post #1146785: I think so. You can use button_to do invoke the action, and pass the operation number as a parameter or in the url. If you look at the docs for button_to and google it to find more examples you

[Rails] Re: Re: Re: Use table elements

2014-05-22 Thread Fab Forestier
Colin Law wrote in post #1146799: Just set the action on each button to the url that you want invoked, so something like edit_article_path( article_ id ) where article_id is the id of the article on that row. Get it working just using link_to first, then make the link look like a button if

[Rails] Re: Ticketing Gem in Rails

2014-05-22 Thread Robert Walker
Ankur Kumar wrote in post #1146768: I am looking for details about any simple ticketing gem which can do following: -Track received and sent notifications between two entities -Assign status - (open/closed/resolved) etc to these notifications -Update existing ticket status with follow up

Re: [Rails] Ticketing Gem in Rails

2014-05-22 Thread Walter Lee Davis
Also, have a look at http://ruby-toolbox.com where you will find a searchable collection of Ruby-based solutions to specific tasks. Walter On May 22, 2014, at 11:05 AM, Robert Walker wrote: Ankur Kumar wrote in post #1146768: I am looking for details about any simple ticketing gem which can

[Rails] How to clear/reset a corrupt session (rails 2.3)

2014-05-22 Thread Avram Dorfman
Hello, We have a rails 2.3 app with a large number of live users, and we have recently done something to corrupt some users sessions in such a way that any attempt to use the session object itself raises an exception. reset_session is also raising the same exception, and not clearing the session.

Re: [Rails] How to clear/reset a corrupt session (rails 2.3)

2014-05-22 Thread Walter Lee Davis
On May 22, 2014, at 11:24 AM, Avram Dorfman wrote: Hello, We have a rails 2.3 app with a large number of live users, and we have recently done something to corrupt some users sessions in such a way that any attempt to use the session object itself raises an exception. reset_session is

Re: [Rails] Re: Re: Re: Use table elements

2014-05-22 Thread Colin Law
On 22 May 2014 16:00, Fab Forestier li...@ruby-forum.com wrote: Colin Law wrote in post #1146799: Just set the action on each button to the url that you want invoked, so something like edit_article_path( article_ id ) where article_id is the id of the article on that row. Get it working

Re: [Rails] Rails create login page

2014-05-22 Thread Antônio Augusto Sousa Britto
This screencast should be useful: http://railscasts.com/episodes/250-authentication-from-scratch I suggest read/study about authentication a little before starting using gems like 'Devise'. 2014-05-22 5:40 GMT-03:00 Duong vong veasna veasnakhme...@gmail.com: Dear all rails developers, I

[Rails] Re: Re: Re: Re: Use table elements

2014-05-22 Thread Fab Forestier
Colin Law wrote in post #1146811: On 22 May 2014 16:00, Fab Forestier li...@ruby-forum.com wrote: You said that, for example, the link should take you to the edit page of an article. How does the user know what article that is? Colin No by exemple I understand the action of the button but

[Rails] Re: To create a Ruby on Rails app, does back-end need to occur before front-end?

2014-05-22 Thread Michael Lutsiuk
Let Matt to do just a frontend and send complete HTML/CSS to Sam. I'm ROR developer. I have such experience, and i like it, because i know how better to compose views and partials and i hate when non-ROR developers doing non-ROR things in my views :) Just let the ROR developer make html live.

Re: [Rails] Re: Re: Re: Re: Use table elements

2014-05-22 Thread Colin Law
On 22 May 2014 18:17, Fab Forestier li...@ruby-forum.com wrote: Colin Law wrote in post #1146811: On 22 May 2014 16:00, Fab Forestier li...@ruby-forum.com wrote: You said that, for example, the link should take you to the edit page of an article. How does the user know what article that is?

Re: [Rails] Use table elements

2014-05-22 Thread Rob Biedenharn
On 2014-May-22, at 15:39 , Colin Law clan...@gmail.com wrote: On 22 May 2014 18:17, Fab Forestier li...@ruby-forum.com wrote: Colin Law wrote in post #1146811: On 22 May 2014 16:00, Fab Forestier li...@ruby-forum.com wrote: You said that, for example, the link should take you to the edit

[Rails] Re: To create a Ruby on Rails app, does back-end need to occur before front-end?

2014-05-22 Thread Jordan Clarke
Thanks for your opinion, Michael. I would also think that the RoR developer with HTML/CSS knowledge should be able to pull things apart from completed HTML/CSS files. Any other input? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

Re: [Rails] To create a Ruby on Rails app, does back-end need to occur before front-end?

2014-05-22 Thread Hassan Schroeder
On Thu, May 22, 2014 at 7:00 AM, Jordan Clarke li...@ruby-forum.com wrote: Matt and Sam have never met nor worked with each other. They don't even know each other exists. Can my web app project be completed with Matt completing front-end and sending the completed HTML/CSS templates to Sam

Re: [Rails] Rails create login page

2014-05-22 Thread Duong vong veasna
Thanks Colin I will try it. On Thursday, May 22, 2014 2:24:50 AM UTC-7, Colin Law wrote: On 22 May 2014 09:40, Duong vong veasna veasna...@gmail.com javascript: wrote: Dear all rails developers, I want to create a login page. Could any one show me how to create a signup and signin

Re: [Rails] Rails create login page

2014-05-22 Thread Duong vong veasna
Thanks Antônio Augusto Sousa Britto I will try it. On Thursday, May 22, 2014 9:53:21 AM UTC-7, Antônio Augusto Sousa Britto wrote: This screencast should be useful: http://railscasts.com/episodes/250-authentication-from-scratch I suggest read/study about authentication a little before

[Rails] videojs and rails

2014-05-22 Thread Pierre-Andre M.
I am trying to get videojs to play a local video file within rails. I am using the video.js library I have tried 2 different gems (github: seanbehan/videojs and alexesDev/videojs) I have tried in line javascript I have tried precompiling the video as an asset by placing in

[Rails] Re: Re: Default value for country_select

2014-05-22 Thread Anu Sebastian
tamouse m. wrote in post #1141848: On Wed, Apr 2, 2014 at 10:52 PM, Anu Sebastian li...@ruby-forum.com wrote: tamouse m. wrote in post #1139937: On Thu, Mar 13, 2014 at 1:26 AM, Anu Sebastian li...@ruby-forum.com wrote: how to add defult value to the country_select gem.. pls help me I

[Rails] Re: Default value for country_select

2014-05-22 Thread Anu Sebastian
here s my code %=country_select(profile, country, { priority_countries: [GB, FR] }, { selected: GB)% after excecuting the code. default country selected as afganistan.. no change.. pls help me to find a solution -- Posted via http://www.ruby-forum.com/. -- You received this message