plebaba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2009-Apr-01 08:24 UTC
how to grant table in rails
i want to know about grant table in rails. Have anyone helps me to give idea about grant table in rails? thank you. -__- --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 1, 9:24 am, "pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i want to know about grant table in rails. > Have anyone helps me to give idea about grant table in rails? > thank you. -__-Assuming you''re talking about granting privileges on databases, there''s nothing builtin - you''ll just have to use ActiveRecord::Base.connection.execute to execute an appropriate sql statement. Fred --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
thank you , i try it 2009/4/1 Frederick Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > > > On Apr 1, 9:24 am, "pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <pleb...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > i want to know about grant table in rails. > > Have anyone helps me to give idea about grant table in rails? > > thank you. -__- > > Assuming you''re talking about granting privileges on databases, > there''s nothing builtin - you''ll just have to use > ActiveRecord::Base.connection.execute to execute an appropriate sql > statement. > > Fred > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---