[Rails] Net::SMTPSyntaxError (501 Sender syntax err$ Heroku

2015-08-01 Thread sanoy
Random issue with my ruby on rails application out of the blue. I'm getting a 501 error each time a user tries to submit the form. This error does not occur when I'm running the app locally, it only occurs when I push to Heroku. > heroku logs --tail(The error shows up below) Net::SMTPSyntax

Re: [Rails] Survey/Question/Answer validation with fields_for?

2015-08-01 Thread Scott Goci
That definitely makes more sense in my mind fernando, but if its a deeply nested object, can you do that? As the params would probably look something like: params.require(:survey).permit(:question_attributes => [:response_attributes => [:response_text].merge(user_id: current_user.id)]) On Fri

[Rails] Re: Re: Rails app design noob

2015-08-01 Thread Lawrence Pan
Thiago Cifani wrote in post #1177115: > That is exactly what I said. Database related records are represented by > models. There are some gems that you can use to have a simple auth > control. > > Have a nice day > > Enviado do meu iPhone Thank you very much! -- Posted via http://www.ruby-forum.

Re: [Rails] Re: Rails app design noob

2015-08-01 Thread Thiago Cifani
That is exactly what I said. Database related records are represented by models. There are some gems that you can use to have a simple auth control. Have a nice day Enviado do meu iPhone > Em 01/08/2015, às 01:55, Lawrence Pan escreveu: > > Thiago Cifani wrote in post #1177106: >> You can hav

Re: [Rails] Rails app design noob

2015-08-01 Thread Colin Law
On 1 August 2015 at 05:18, Lawrence Pan wrote: > Hi all, I am very new to the rails framework and also web programming in > general. I am currently planning to work on a personal brochure site > which has a simple blogging feature. It is going to be very light so I > did not want to use any bloggi