Le 6 févr. 2015 à 16:21, Jason Fleetwood-Boldt a écrit :
Is Rails' API coded for the neophyte or the experienced dev?
The eternal question.
For people who know how to read basic, essential doc and well documented stuff?
--
Nicolas Cavigneaux
www.bounga.org
www.cavigneaux.net
Le 4 févr. 2015 à 12:00, Magne magn...@gmail.com a écrit :
I ran into a situation with .html_safe when communicating with a fellow
programmer, and discovered that the method name isn't as clear as desired.
.html_safe does not mean please make this html safe, it's the opposite - it
is you
with you. I always felt it was some kind of pollution too.
It would be nice if t() helper used with period was using a namespace.
—
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Core
using
inline test. I would use helpers to do this kind of things.
—
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Core group.
To unsubscribe from this group and stop receiving emails
ideas?
Hi Nicole,
you're not on the mailing list dedicated to help people with using RoR or with
their code. This mailing list is about Rails core development, enhancing it,
not using it.
You should ask your question on
https://groups.google.com/forum/#!forum/rubyonrails-talk.
--
Nicolas
is not the good one.
--
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Core group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rubyonrails-core+unsubscr
as-is. But I think he's asking if he can use form_for variant of helpers
outside of the form_for block.
So you can use *_tag helpers outside of a form_for and set 'form' attributes by
hand but you'll also need to handle value attribute.
--
Nicolas Cavigneaux
http://www.bounga.org
http
}
How would you handle simple cases like: [ 1, 1, 2 ].uniq? { |x| x 1 } # =
true ?
--
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Core group.
To post to this group, send email
Le 16 mars 2011 à 17:12, Robert Pankowecki a écrit :
From documentation:
enum.one? [{|obj| block }] → true or false
Yes but how to have @post.uniq? { |x| x.created_at.month } ?
--
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received this message because
of adding those methods. Just trying to
understand your scenarios.
Yes it's what I was trying to do. The only is to add 2 methods. Method names
you chose sound good to me.
Why don't you want these methods to be added?
--
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You
Le 16 mars 2011 à 23:10, Andrew Kaspick a écrit :
Filtering duplicate values should be done in the database layer IMO.
The idea here is not to work on DB objects only but on any kind of object.
--
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received
send a patch.
Thanks a lot for your advices Robert.
--
Nicolas Cavigneaux
http://www.bounga.org
http://www.cavigneaux.net
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Core group.
To post to this group, send email to rubyonrails-core
12 matches
Mail list logo