Ruby on Rails Wednesday, February 22, 2017

If you have a robust permissions system, you can also hide or show fields based on those permissions

In short I would never use an 'admin' model there is simply no point for 99% of applications

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2f2e69f6-eac9-4a17-9dd4-4356ba471de4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

TypeError in Devise::ConfirmationsController#show

nil is not a symbol nor a string


what's causing this error anyone please? it says it's from dirty.rb line 181



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/24b0f5c4-7efc-4b60-a0fd-a2caec0cccb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ruby on Rails

On 22 February 2017 at 16:41, fugee ohu <fugee279@gmail.com> wrote:
I agree, so then what do we need admin model for in light of roles

You don't need admin model
 

On Monday, February 20, 2017 at 12:06:09 PM UTC-5, fugee ohu wrote:
i want one of my tables to belong to either admins or users because i'm under the impression they can't belong to both
can someone clarify please

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c166e9bc-9a13-4bf9-a9db-651f6e5dd545%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvENp2VKMewq2Zg%3DW0qxBFeDkb229pgSyz3yrUm%3DWYwFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.