1. What is one major concern of the following code and how would you
improve it?
class BookController ApplicationController
def rename
@book = Books.find(params[:id])
if @book.update_attribute(:title, sanitize(params[:title]))
format.json { render json: { status:
On 17 April 2015 at 07:00, Wei Qiang breakthrough...@gmail.com wrote:
What is one major concern of the following code and how would you improve
it?
The purpose of this list to help those who have problems, not to do
their course work for them.
Colin
--
You received this message because you
It's so urgent because your homework is due today? Odd that you think
we're stupid enough to fall for that, yet smart enough to be able to
help you.
--
Dave Aronson, consulting software developer of Codosaur.us,
PullRequestRoulette.com, Blog.Codosaur.us, and Dare2XL.com.
--
You received this
3 matches
Mail list logo