On Mar 31, 2015, at 7:13 AM, Jhonnatan Mc <lists@ruby-forum.com> wrote:
>
> #App/services/UserService.rb
>
> class UserService
>
> class UserService
>
>
> def self.create(user_params)
>
> @user = User.new(user_params)
>
> end
> end
>
Going back a few posts: there's a pretty obvious error there, if that's your actual code...
--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice
--
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/7EB533D5-5DB6-4302-AC6A-6117A682E4C0%40elevated-dev.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment