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:
Hey guys,
I had recently a very weird experience. I have a Loader class that run's a
lot of different things on Active Record objects. One thing this loader
does, is to preload data based on each classes settings. so basically:
scope.preload(preloads)
scope has a collection of Active Record
On Fri, Apr 17, 2015 at 9:58 AM, Cristiano de Araujo Bezerra
webofb...@gmail.com wrote:
case key
when 'a'
print #{vowels['a']}
when 'i'
print #{vowels['i']}
when 'u'
print #{vowels['u']}
when 'e'
print #{vowels['e']}
when 'o'
print #{vowels['o']}
when
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
Lucky boy, we didn't use Ruby at school.
--
Posted via http://www.ruby-forum.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
On 17 April 2015 at 17:16, nick...@gmail.com wrote:
I'm working with Rails 4 and have developed a test that is failing and I
don't understand why.
test message content do
Try a
puts messages(:two).inspect
at this point to get more clues as to what is happening.
Colin
message =
Greetings to all!
I am a contributor to gitHub. My most recent ROR contributions to gitHub
has been at the App level from my new web-site: www.echomarket.org. I
think that some of you will find some interesting code there: edit, reuse,
and new in a single form; Search with an interesting
Tengo el mismo inconveniente en este momento y no encuentro solución..
El jueves, 16 de abril de 2015, 17:21:33 (UTC-3), Ruby-Forum.com User
escribió:
Instale ruby 2.1.0 mediante rbenv y tanto las instalaciones de cada
versión, como realizar un blundle install tardan mucho tiempo (horas)
I'm working with Rails 4 and have developed a test that is failing and I
don't understand why.
test message content do
message = messages(:two)
mail = MessageMailer.new_message(message)
assert_equal Message from #{message.name}, mail.subject
There's an official Omnibus package for the RPi2, see 'Omnibus package
for Raspberry Pi 2' on https://about.gitlab.com/installation/
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To unsubscribe
https://github.com/webofbits/rom2jap
https://www.youtube.com/watch?v=bTDAgE08Qv8feature=youtu.be
On 17 April 2015 at 07:05, botp botp...@gmail.com wrote:
On Fri, Apr 17, 2015 at 9:58 AM, Cristiano de Araujo Bezerra
webofb...@gmail.com wrote:
case key
when 'a'
print #{vowels['a']}
12 matches
Mail list logo