[Rails-core] Re: Rails 3 (latest git): "Missing cookie signing secret"

2010-04-12 Thread keeran
Is this configuration approach due to be changing? Still getting conflicting deprec notices on the cookie secret and I'm not sure on how we should define session domains now: config.action_dispatch.session = { :key / :domain / :secret } in application.rb? Initializers? Both? :) Kee On Apr 5, 6:

[Rails-core] error_message_on etc. removed - what's the rationale?

2010-04-12 Thread michael.hasenst...@googlemail.com
I have searched the web high and low but could not find anything so I find myself forced to ask here - could so. pls. provide a link to some discussion or blog post that explains the rationale behind removing those helpers? What am I to do instead? I have no plans to complain at all, I'm merely in

Re: [Rails-core] error_message_on etc. removed - what's the rationale?

2010-04-12 Thread Mislav Marohnić
If you are talking about view helpers that generate HTML for forms and validation errors, to me it's pretty obvious why they were removed: they were like dynamic scaffold in old versions of rails — one magic method, lots of magic output, no way to easily see and customize what's going on. You could

[Rails-core] Re: error_message_on etc. removed - what's the rationale?

2010-04-12 Thread michael.hasenst...@googlemail.com
I was also asking because I don't seem to have any error messages on the model object right now... (didn't verify it by checking rails code yet, busy with other stuff) I have found this ticket which explains some of it, I consider my question answered :-) https://rails.lighthouseapp.com/projects

[Rails-core] Re: error_message_on etc. removed - what's the rationale?

2010-04-12 Thread michael.hasenst...@googlemail.com
I take back what I said, everything is okay. On Apr 12, 5:39 pm, "michael.hasenst...@googlemail.com" wrote: > I was also asking because I don't seem to have any error messages on > the model object right now... (didn't verify it by checking rails code > yet, busy with other stuff) -- You recei

Re: [Rails-core] Re: error_message_on etc. removed - what's the rationale?

2010-04-12 Thread Mislav Marohnić
To clarify: this is the commit I had in mind "Remove input, form, error_messages_for and error_message_on from the framework." http://github.com/rails/rails/commit/cd79a4617421f1b66e905f5da84ff28004e2bedd -- You received this message because you are subscribed to the Google Groups "Ruby on Rails

[Rails-core] [patch] improve reliability of Inflector.transliterate

2010-04-12 Thread Norman Clarke
Hello, I'd like to ask for some feedback on a patch I just submitted. The patch improves the reliability of ActiveSupport::Inflector.transliterate, which currently does not handle many characters from Danish, Swedish, Icelandic, Polish and other European languages. This is because the current co

[Rails-core] [PATCH] Access to more Arel predicate types from where condition hash

2010-04-12 Thread Ernie Miller
I could use some eyes on https://rails.lighthouseapp.com/projects/8994/tickets/4368 if anyone has the time. Summary of the change: Similar to PredicateBuilder's existing support for 'table.column' => 'value', this patch enables 'column#method' => 'value'. For instance, Article.where('title#matc

[Rails-core] Re: proxy_options on named scopes

2010-04-12 Thread Ernie Miller
On Apr 9, 9:06 pm, Matt Jankowski wrote: > It looks like a recent documentation commit finally removed references > to this method... > > http://github.com/rails/rails/commit/c6372d604952a8eef16ce73a06814aa1... > > In lieu of having #proxy_options available, is there another method > which replace

[Rails-core] Rails3 jquery_helper

2010-04-12 Thread Joshua Partogi
Dear all, Since Rails3 is using unobstrusive javascript for ajax form handling, does the developers need to implement the corresponding javascript_framework helper themselves? Currently rails3 only bundles prototype_helper. Will rails3 also bundles jquery_helper? If not, will it be available in th

Re: [Rails-core] Rails3 jquery_helper

2010-04-12 Thread Allen Madsen
The idea as it stands now is that the abstraction will happen at the javascript layer. So there will be a common rails javascript library that supports adapters to the other javascript libraries. prototype_helper should go away completely and be replaced by a rails common javascript helper. Allen

[Rails-core] Re: Unary and Polyadic predicates, notin and notmatch predicates for Arel

2010-04-12 Thread Joe Smith
"Ernie Miller" wrote in message news:46299a9a-e38b-46c8-9305-ea94dbbd3...@r1g2000yqb.googlegroups.com... I agree that I don't much like the way it just dangles there like that, but I don't see any other way to accomplish what's desired. In working with it, I find that it helps to imagine you

[Rails-core] Re: Rails3 jquery_helper

2010-04-12 Thread Joshua Partogi
Thanks for your response Allen, really appreciate it. Does this _common_javascript_helper_ happen to be in the git repo already? Or is this something that will be planned in the future? Kind regards, Joshua -- http://twitter.com/projexion On Apr 13, 8:39 am, Allen Madsen wrote: > The idea as

Re: [Rails-core] Re: Rails3 jquery_helper

2010-04-12 Thread Allen Madsen
It doesn't exist yet. Currently it's an idea for a RubySoC project [1]. When I get time this week or next I'll be writing a proposal for it. [1] http://wiki.rubyonrails.org/rubysoc/2010/ideas#action_view Allen Madsen http://www.allenmadsen.com On Mon, Apr 12, 2010 at 8:47 PM, Joshua Partogi w