[Rails-core] Re: Action View: hidden field tags from nested hash

2013-03-23 Thread Damien MATHIEU
This seems quite specific to me too. It would be nice in a gem. But I don't think it should go into rails core. On Friday, March 22, 2013 10:41:23 AM UTC+1, Alexey wrote: I have submitted this PR https://github.com/rails/rails/pull/9622 without any discussion, but maybe i should have asked

Re: [Rails-core] Versioning of Views; Our Approach

2012-09-16 Thread Damien Mathieu
, versioning the rendering is not enough. You need to be able to version features if necessary. There are several existing solutions for this already, a bit different from yours. For example, biceps, which allows routing different versions differently. https://github.com/lyonrb/biceps Damien

Re: [Rails-core] Support for views on activerecord

2012-07-12 Thread Damien Mathieu
to activate postgres extensions directly from the migration. Damien MATHIEU | Ingénieur logiciel 84, rue Chevreul | 69 007 Lyon Tel. : +33 (0)6 88 42 00 15 | http://dmathieu.com On 12 July 2012 01:34, Ken Collins k...@metaskills.net wrote: John, Perhaps make a few directories like db/procedures

Re: [Rails-core] URL ID

2012-07-09 Thread Damien Mathieu
Moreover, in order to really optimize your SEO, you shouldn't rely only on the ID, but you should also check the slug. Otherwise, it generates duplicate content as you can have hundreds of different urls with the same content. Damien MATHIEU | Ingénieur logiciel 84, rue Chevreul | 69 007 Lyon

[Rails-core] Re: Using JSON template builders with respond_with

2012-02-15 Thread Damien MATHIEU
ActiveModel::Serializers does this pretty nicely. You could take a look at it. https://github.com/josevalim/active_model_serializers -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Core group. To view this discussion on the web visit

[Rails-core] PUT request, respond_with and the json rendered content

2011-10-19 Thread Damien MATHIEU
Since this commit : https://github.com/rails/rails/commit/0d257156544feba729ba28f6874d5a30d561 PUT requests made on a controller using respond_with with the format json render an empty hash. José explains in the comments why it does so and it doesn't just renders the modified document, like

Re: [Rails-core] PUT request, respond_with and the json rendered content

2011-10-19 Thread Damien MATHIEU
this would break all applications. If someone supporting this, it should go to Rails 4.0, not 3.2. - Prem On Oct 19, 2011, at 3:04 AM, Damien MATHIEU wrote: Since this commit : https://github.com/rails/rails/commit/0d257156544feba729ba28f6874d5a30d561 PUT requests made on a controller

[Rails-core] Re: Routing a Sinatra application

2010-04-26 Thread Damien MATHIEU
, not Rails, but I'm not sure. (I've only poked around for a couple of minutes.) On Fri, Apr 23, 2010 at 17:15, Damien MATHIEU 4...@dmathieu.com wrote: Hello, I wish to route a sinatra application in my Rails 3 app. As said by Yehuda, it should be possible. http://yehudakatz.com/2009/12/26

[Rails-core] Re: Decoupling the view layer in Rails 3 - install UJS and template/css frameworks as gems using generator

2010-03-19 Thread Damien MATHIEU
That's what the prototype legacy helper plugin tends to do (even though it's not a gem) : http://github.com/rails/prototype_legacy_helper On 17 mar, 16:49, Kristian Mandrup kmand...@gmail.com wrote: Since the idea of UJS is loose coupling, the UJS framework of choice should be installed as a

[Rails-core] Re: rubyonrails.com can't scale

2009-11-09 Thread Damien MATHIEU
Any website can have some downtime sometimes. That doesn't mean it can't scale. On Nov 9, 11:02 am, Hongli Lai hon...@phusion.nl wrote: On Nov 8, 10:38 pm, Ryan Bigg radarliste...@gmail.com wrote: The site is down:http://downforeveryoneorjustme.com/rubyonrails.org Looks up to me.