Re: [Rails] Re: rou

2016-02-09 Thread Colin Law
On 10 Feb 2016 00:21, "Ankit Raj" wrote: > > > > On Wednesday, February 10, 2016 at 12:00:42 AM UTC+5:30, Matt Jones wrote: >> >> >> >> On Tuesday, 9 February 2016 12:20:37 UTC-6, Ankit Raj wrote: >>> >>> Hello geeks, >>> >>> Help me in solving following error. >>> >>> >>> No route matches {:actio

[Rails] Re: rou

2016-02-09 Thread Ankit Raj
On Wednesday, February 10, 2016 at 12:00:42 AM UTC+5:30, Matt Jones wrote: > > > > On Tuesday, 9 February 2016 12:20:37 UTC-6, Ankit Raj wrote: >> >> Hello geeks, >> >> Help me in solving following error. >> >> >> No route matches {:action=>"create_banner_text", :controller=>"websites", >> :id=>

[Rails] Ruby/Rails Engineer needed

2016-02-09 Thread Scott Dunklee
We are looking for a Full-Stack Senior Ruby developer responsible for building and supporting our many Ruby applications. Your primary responsibility will be to design and develop these applications, and to coordinate with the rest of the team working on different layers of the infrastructure.

Re: [Rails] How can I set up a proper getter/setter?

2016-02-09 Thread Rob Biedenharn
> On 2016-Feb-8, at 19:19 , David McDonald wrote: > > I have a model named, Measurable, that stores many different types of of > measurements for different things. All the measurements can be represented > as a decimal, so my value column is of datatype decimal. My users though > wish to vi

[Rails] Re: rou

2016-02-09 Thread Matt Jones
On Tuesday, 9 February 2016 12:20:37 UTC-6, Ankit Raj wrote: > > Hello geeks, > > Help me in solving following error. > > > No route matches {:action=>"create_banner_text", :controller=>"websites", > :id=>nil} missing required keys: [:id] > > Detail is given on > https://gist.github.com/aj07/79

[Rails] rou

2016-02-09 Thread Ankit Raj
Hello geeks, Help me in solving following error. No route matches {:action=>"create_banner_text", :controller=>"websites", :id=>nil} missing required keys: [:id] Detail is given on https://gist.github.com/aj07/794468a5f6f92ea63dfb With Regards, Ankit Raj -- You received this message becau

[Rails] add properties to a list rails4

2016-02-09 Thread Mezbah Alam
up vote down votefavorite Property has many lists. List has many properties. Users can add properties to a list , here user must be owner of those properties which he want to add. Here is my code: class List < Act

Re: [Rails] How can I restrict records by user accounts as a default_scope, or better solution?

2016-02-09 Thread Colin Law
On 9 February 2016 at 14:49, David McDonald wrote: > I currently have two models, "User" and "Report". I want to find out the > best way of restricting reports from certain user groups. > > Given the following three groups... > > General Manager > Store Manager > Employee > > I would like to rest

[Rails] How can I restrict records by user accounts as a default_scope, or better solution?

2016-02-09 Thread David McDonald
I currently have two models, "User" and "Report". I want to find out the best way of restricting reports from certain user groups. Given the following three groups... - General Manager - Store Manager - Employee I would like to restrict the users from seeing certain reports. - *G