Join an open source project. Or create your own rails app. You'll learn way more by doing than by reading about it.--
On Tuesday, February 28, 2017 at 3:34:57 PM UTC-5, Andres Coppola wrote:Hello everyone, I'm new at this group and i'm very glad I found it. My name is Andres, and I has been learning rails since the last year. I have read a lot about CRUD operation, models, controllers, views, helpers, ActiveMailer and a few thing of ActibeJobs, but i want to go deeper than that. Can you give some advise about what to read/watch? It could be books, videos, courses (free or at least cheap ones). Any help would be good. Thank you!
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/c2c27b59-b19d-4638-9e55-1ad721fae696%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/CAHUC_t_ZNZ%3D%3DhcHFAY6gBC7ef%2Bsd88djYX-gMqUpyOTfeajsKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
When you redirect, you lose all of the current environment (including the error, why it happened, etc.). This is almost never what you want to do. You want to fall through to re-render the form, and it will properly display the error messages and allow the user to recover without re-entering all of the data again. Use the rails scaffold command to make a new model/controller/view. Look at what it does. This is the expected behavior that you differ from at your peril!
Walter
> On Feb 28, 2017, at 10:51 AM, Joe Guerra <jguerra@jginfosys.com> wrote:
>
> I think you can use :back.
>
> redirect_to :back
>
> On Friday, February 24, 2017 at 1:10:31 PM UTC-5, fugee ohu wrote:
> my controller is user_posts_controller.rb
> it's views are in /app/views/user/posts
>
> when a form submission fails to save the object i wanna redirect back to the custom pathed form i came from but the controller code has render :new
>
> how do i redirect to the calling path of new and pass parameters
>
> --
> 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/a613cd5b-b474-41ee-85cb-42da2f274d54%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/F9CB9153-83B8-4539-A93C-B7A3AED6FCD5%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
On Tuesday, February 28, 2017 at 3:34:57 PM UTC-5, Andres Coppola wrote:
Hello everyone, I'm new at this group and i'm very glad I found it. My name is Andres, and I has been learning rails since the last year. I have read a lot about CRUD operation, models, controllers, views, helpers, ActiveMailer and a few thing of ActibeJobs, but i want to go deeper than that. Can you give some advise about what to read/watch? It could be books, videos, courses (free or at least cheap ones). Any help would be good. Thank you!
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/c2c27b59-b19d-4638-9e55-1ad721fae696%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/4571a202-dda8-4147-bba6-eecb886d0931%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
redirect_to :back
On Friday, February 24, 2017 at 1:10:31 PM UTC-5, fugee ohu wrote:
my controller is user_posts_controller.rb
it's views are in /app/views/user/posts
when a form submission fails to save the object i wanna redirect back to the custom pathed form i came from but the controller code has render :new
how do i redirect to the calling path of new and pass parameters
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/a613cd5b-b474-41ee-85cb-42da2f274d54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Thursday, February 16, 2017 at 5:51:29 PM UTC-5, Walter Lee Davis wrote:
> On Feb 16, 2017, at 9:27 AM, Joe Guerra <jgu...@jginfosys.com> wrote:
>
> ok, still confused....
> I've defined my parms like this...
>
> def cart_params
> # params.fetch(:cart, {})
> params.require(:cart).permit(:user_id, :product_id )
>
>
> end
>
>
> Have this in my controller.
>
> def add_to_cart
>
> product_id = params['id']
> user_id = session['user_id']
> @cart = Cart.new(user_id, product_id)
>
> end
>
Try this:
product_id = cart_params[:product_id]
user_id = session['user_id']
@cart = Cart.new(user_id, product_id)
Not clear what params[:id] would be set to in your example, but you went out of your way to whitelist cart[product_id], so that's what I think you should use.
Walter
>
> Not sure what to put in the show page, to pass these values to the controller.
>
> I've got a few rails books, and not one of them cover this.
>
>
>
> On Thursday, February 16, 2017 at 12:18:38 AM UTC-5, Scott Jacobsen wrote:
> Controller action methods do not take parameters. You get the parameters from the `params` hash. Also, as was mentioned, do not send user_id as a param. It is a security error, and you don't need to because you can access the session in the controller:
>
> def add_to_cart
> product_id = params["product_id"]
> user_id = session["user_id"]
> @cart = Cart.new(user_id, product_id)
> ...
> end
>
> On Wednesday, February 15, 2017 at 5:11:02 PM UTC-7, Joe Guerra wrote:
> I am pretty close to figuring this out...
>
> I've got this in my product show page....I'm trying to pass user_id & product_id to my products controller, add_to_cart method...
>
>
> <%= button_to 'Add to Cart', {:controller => "products", :action => "add_to_cart", :user_id=> session[:user_id], :product_id => @id } , :method=>:post %>
>
> on the controller...
>
> def add_to_cart(user_id, product_id)
>
>
> @cart = Cart.new(user_id, product_id )
> #
>
> end
>
> I get the error,
> "wrong number of arguments (given 0, expected 2)"
>
>
>
>
>
> Any suggestions?
>
> Thanks,
>
> Joe
>
>
>
>
>
>
>
> --
> 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-ta...@googlegroups.com .
> To post to this group, send email to rubyonra...@googlegroups.com .
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .f62d02c7-7059-425b-b810- cb28a8d8f392%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/02dd1ea0-6de0-4c59-882a-e66def462ad5%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/67010ba5-5443-4b07-a83e-6bdf203dbebb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
After an error, you really don't want to redirect, just re-render. That's how you keep all the request variables alive. If you need to render a different form from a different path, just pass in that path to your controller. Remember, in the error side of the if/else, there is an implicit render template: [:new or :edit]. So you can also write render template: 'path/to/custom/view' there. The rest of the variables will already be there.
Walter
> On Feb 24, 2017, at 1:10 PM, fugee ohu <fugee279@gmail.com> wrote:
>
> my controller is user_posts_controller.rb
> it's views are in /app/views/user/posts
>
> when a form submission fails to save the object i wanna redirect back to the custom pathed form i came from but the controller code has render :new
>
> how do i redirect to the calling path of new and pass parameters
>
> --
> 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/7d236498-eaa6-4eed-8007-0f02acba3b99%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/4140E2A5-7236-4EB3-B5AF-F9E33AB68EA7%40wdstudio.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/d2b5616e-caca-4694-9c7e-4793d3edc8d1%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/CAC9YFzfUZuJw%2B-hD-KDVhbbQaCwJ_ewNbK2NF%3DvoNoDEQeanLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
it's views are in /app/views/user/posts
when a form submission fails to save the object i wanna redirect back to the custom pathed form i came from but the controller code has render :new
how do i redirect to the calling path of new and pass parameters
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/7d236498-eaa6-4eed-8007-0f02acba3b99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi All,
Urgent opening!!!
Role: Senior Ruby on Rails
Location: Rockville, MD
Duration: 6 mos to a year contract with the option to become Perm.
Interview type: Telephonic (SKYPE) followed by Face to face (Mandatory)
• Design and develop Ruby modules and REST web services with Sinatra or Ruby on Rails frameworks
• Deliver high quality code tested with RSpec and Cucumber
• Analyze and interpret complex requirements from scientists and doctors
• Introduce new technologies and best practices as needed to solve business problems
• Be a part of development team to create practical solutions in Agile/DevOps environment
• Be an expert to research and identify technical solution and be a mentor to junior staff
REQUIRED QUALIFICATIONS
• Excited about creating amazing application with cutting-edge environment
• Expert knowledge of Ruby • Minimum of six (6) years of relevant software development experience
• Extensive knowledge of RESTful and/or SOAP web services development
• Experience with Sinatra, Ruby on Rails, or other application frameworks on Linux environment
• Experience on Angular.JS
• Passionate about object-oriented programming with strong design skills
• Excellent problem solving skills
• Take ownership and work independently on a large portion of a project with minimal supervision
• Ability to work effectively with a team on complex projects with strict requirements
• Strong communication (written and verbal) and organizational skills
•Master's Degree and will sometimes accept Bachelor's degree in Computer Science, Information Systems, Engineering or similar.
• Must be able to obtain Public Trust security clearance
PREFERRED QUALIFICATIONS
• Experience with NoSQL databases such as MongoDB is preferred
• Experience with continuous integration, Jenkins, code quality tools,
• Knowledge of test driven development, test frameworks like RSpec and Cucumber
• Knowledge of front end technologies like JavaScript, AngularJS, AJAX, JSON, jQuery is a plus
• Comfortable with version control systems like GIT or SVN, and bug tracking systems such as JIRA
• Ability in formulating and implementing IT solutions to meet business requirements
Regards,
Farhana
Resource Manager
Metasense, Inc.
NJ Minority Certified Company
403 Commerce Lane, Suite # 5
West Berlin, NJ 08091
Phone: (508)203-1975
Fax: (856) 475-0555
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/5a0ce165-63e1-4606-987c-b6a0d1351956%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wednesday, February 22, 2017 at 6:19:18 PM UTC, Mike wrote:If you have a robust permissions system, you can also hide or show fields based on those permissionsIn short I would never use an 'admin' model there is simply no point for 99% of applications
I've had a different experience - in one of the apps I work on I regret that users and admins are differentiated only by role. users have attributes that admin's don't need for admin tasks, but validations there mean that admins need to go though that signup process, rather than just email address & password. There are some attributes that only admins need so you end up with columns that are null for 1 million record and set for 5 of them. In general I'd quite like the admin components and consumer facing components to be separate web applications & the shared user accounts are one of the things binding them at the moment.I can see that it's probably not a common case though.Fred
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/CAHUC_t-Jw-XpRCAr8mVrFQ8sFwyQq6qqMQ4Cjedm_7%2BCZN%3DbYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
ruby on rails
automate dropshipping
multidomain
multidomain Store
Automate inventory dropshipping
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/cb78c71c-5f62-41dd-a338-e2a8b4315a7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Wednesday, February 22, 2017 at 6:19:18 PM UTC, Mike wrote:If you have a robust permissions system, you can also hide or show fields based on those permissionsIn short I would never use an 'admin' model there is simply no point for 99% of applications
I've had a different experience - in one of the apps I work on I regret that users and admins are differentiated only by role. users have attributes that admin's don't need for admin tasks, but validations there mean that admins need to go though that signup process, rather than just email address & password. There are some attributes that only admins need so you end up with columns that are null for 1 million record and set for 5 of them. In general I'd quite like the admin components and consumer facing components to be separate web applications & the shared user accounts are one of the things binding them at the moment.I can see that it's probably not a common case though.Fred
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/CAHUC_t__Po6tuFEsJopNYgGW1YYH8r0veVJM3PUEFcg%3DHxnY6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
hello all, Im developing a ruby script (ruby 1.8.7)its a simple script to generate an email using an ERBmy ERB has thisJIRA ticket:[ <%= issue_key %> ] - <%= summary %>where issue_key is this, https://jira-server.com/api/rest/query/ABC-123I was wondering if its possible to embed that hyperlink somehow the ERB. When I get the email from this script, it embeds everything as plain text, I cant find a way to embed a hyperlink into a stringsimilar to this,<a href="https://jira-server/etc"> [ ABC-123 ] </a>
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/CAHUC_t-3UETMdp%3DrvWvvz22%3DJGwS-x1UGSuuJjpD4OYAymqJ1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Wednesday, February 22, 2017 at 6:19:18 PM UTC, Mike wrote:
If you have a robust permissions system, you can also hide or show fields based on those permissionsIn 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/02055631-0048-4d37-a8bf-f891dd40a023%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
generate = ERB.new(templ,nil,">").result(binding)
thanks
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/8eaf84b8-27d6-4b11-9872-e15176db8266%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Role: Senior Ruby on Rails
Location: Rockville, MD
Duration: 6 months plus
Interview type: Telephonic (SKYPE) followed by Face to face (Mandatory)
• Design and develop Ruby modules and REST web services with Sinatra or Ruby on Rails frameworks
• Deliver high quality code tested with RSpec and Cucumber
• Analyze and interpret complex requirements from scientists and doctors
• Introduce new technologies and best practices as needed to solve business problems
• Be a part of development team to create practical solutions in Agile/DevOps environment
• Be an expert to research and identify technical solution and be a mentor to junior staff
REQUIRED QUALIFICATIONS
• Excited about creating amazing application with cutting-edge environment
• Expert knowledge of Ruby • Minimum of six (6) years of relevant software development experience
• Extensive knowledge of RESTful and/or SOAP web services development
• Experience with Sinatra, Ruby on Rails, or other application frameworks on Linux environment
• Experience on Angular.JS
• Passionate about object-oriented programming with strong design skills
• Excellent problem solving skills
• Take ownership and work independently on a large portion of a project with minimal supervision
• Ability to work effectively with a team on complex projects with strict requirements
• Strong communication (written and verbal) and organizational skills
•Master's Degree and will sometimes accept Bachelor's degree in Computer Science, Information Systems, Engineering or similar.
• Must be able to obtain Public Trust security clearance
PREFERRED QUALIFICATIONS
• Experience with NoSQL databases such as MongoDB is preferred
• Experience with continuous integration, Jenkins, code quality tools,
• Knowledge of test driven development, test frameworks like RSpec and Cucumber
• Knowledge of front end technologies like JavaScript, AngularJS, AJAX, JSON, jQuery is a plus
• Comfortable with version control systems like GIT or SVN, and bug tracking systems such as JIRA
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/db4a117f-ef1f-422a-bb94-7284dc04c21e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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.
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.
I agree, so then what do we need admin model for in light of roles
--
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
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.
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.
I never really liked this functionality of devise,.
I normally make everyone a user, and the assign an 'admin' role in the same way as any other permission.
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/CAHUC_t8RvDzPAYs3cts_w8zDz%2BTdF5vdsFyRjRnEh%3DWvN3BQJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Do you know if yahoo mail requires a separate "app" password to access email in this way?I'm asking only because I know Google email works this way, I don't know anything about connecting to Yahoo mail in particular.--On Tue, Feb 21, 2017 at 1:25 AM honey ruby <emailtohoneyruby@gmail.com> wrote:To view this discussion on the web visit https://groups.google.com/d/I have changed address to smtp.mail.yahoo.com but still the same.. no error but mails not delivered.--On Tue, Feb 21, 2017 at 12:37 PM, nanaya <me@0paste.com> wrote:Hi,
On Tue, Feb 21, 2017, at 14:54, honey ruby wrote:
> Hi all,
>
> Am trying to send email with yahoo mail but it is not working but, with
> gmail works fine can someone correct me if anything is wrong in my smtp.
>
>
> production:
> :address: smtp.yahoo.mail.com
the address should be smtp.mail.yahoo.com
--
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/ .1487660832.907831.887628736. 61ABE7E7%40webmail. messagingengine.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 .msgid/rubyonrails-talk/ .CAOKUzC%3D0z-pmqu_ xkC48C6OwZNEbALgi7Fw6fTHVk% 3DnC7gvGAA%40mail.gmail.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/CAHUC_ .t8zb6OJAdpQTA5Nx97QeG-4eq9% 3DnGvVOXV6GQvEhRta%2Bw%40mail. gmail.com
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/CAOKUzCkNJGz6DLpdL6Yp6S80H7QfKcnEPvipFMjnktBwE2ZuJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I never really liked this functionality of devise,.
I normally make everyone a user, and the assign an 'admin' role in the same way as any other permission.
--
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/c2ad431e-7d13-4e71-8dfe-8e1dcbad0a4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have changed address to smtp.mail.yahoo.com but still the same.. no error but mails not delivered.--On Tue, Feb 21, 2017 at 12:37 PM, nanaya <me@0paste.com> wrote:Hi,
On Tue, Feb 21, 2017, at 14:54, honey ruby wrote:
> Hi all,
>
> Am trying to send email with yahoo mail but it is not working but, with
> gmail works fine can someone correct me if anything is wrong in my smtp.
>
>
> production:
> :address: smtp.yahoo.mail.com
the address should be smtp.mail.yahoo.com
--
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/1487660832.907831.887628736.61ABE7E7%40webmail.messagingengine.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/CAOKUzC%3D0z-pmqu_xkC48C6OwZNEbALgi7Fw6fTHVk%3DnC7gvGAA%40mail.gmail.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/CAHUC_t8zb6OJAdpQTA5Nx97QeG-4eq9%3DnGvVOXV6GQvEhRta%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Tuesday, February 21, 2017 at 10:57:40 AM UTC-5, fugee ohu wrote:
i whitelisted a paramater as shown below in appliction_controller.rb but i'm getting the error from Action Controller "
TypeError in Devise::
ConfirmationsController#show nil is not a symbol nor a string Here's the line from my application_controller.rb:
devise_parameter_sanitizer.
permit(:sign_up, keys: [:name])
Is confirmations_controller part of the sign_up group for devise?
Here's the error in the log:
Processing by Devise::ConfirmationsController#show as HTML
Parameters: {"confirmation_token"=>"hh8zL_viEEc6XQq3k_Cv"}
[1m [36mUser Load (1.3ms) [0m [1m [34mSELECT `users`.* FROM `users` WHERE `users`.`confirmation_token` = 'hh8zL_viEEc6XQq3k_Cv' LIMIT 1 [0m
[1m [35m (0.5ms) [0m [1m [35mBEGIN [0m
[1m [35m (0.6ms) [0m [1m [31mROLLBACK [0m
Completed 500 Internal Server Error in 207ms (ActiveRecord: 106.8ms)
TypeError (nil is not a symbol nor a string):
activemodel (5.0.0) lib/active_model/dirty.rb:188:in `attribute_was'
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/360b9f4b-0bac-4b32-82c7-0dccee37bb0b%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/CAC9YFzcrriArVpvFwdxo8j2cJ94AC3dgH%3DKR-pU%3DMkRnXExc%2Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.