[Rails-core] Re: Lighthouse Rake Tasks

2008-05-05 Thread Rick Olson
Hah, very cool. Though I'd personally think it should be a plugin. I'm not sure it's really needed for the majority of framework users vs the (relatively) few contributors. Also, maybe it should be prefixed with a 'rails' rake namespace? On 5/3/08, Scott Chacon <[EMAIL PROTECTED]> wrote: > > I

[Rails-core] Re: STI Patch to store full class name

2008-05-05 Thread Duncan Beevers
There's also the issue of models referenced from within migrations where you might want to explicitly specify a module hierarchy that does not match the model's actual namespace. Perhaps we can include a method that allows you explicitly set the sti class name? class SomeMigration < ActiveRecord

[Rails-core] Re: [Q] How to get authenticiy_token value?

2008-05-05 Thread [EMAIL PROTECTED]
Mislav, On May 5, 11:18 pm, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote: > It's called "form_authenticity_token". Thank you very much. > In future, direct usage questions not to this list, but to "Rails talk" > list:http://groups.google.com/group/rubyonrails-talk Oh, I haven't known it. Thnak

[Rails-core] eager loading has_one fix

2008-05-05 Thread Frederick Cheung
I believe I have fixed the issue Trevor noted with has_one (http://rails.lighthouseapp.com/projects/8994/tickets/64-eager-loading-inconsistency ) if people would like to have a look. Fred --~--~-~--~~~---~--~~ You received this message because you are subscribe

[Rails-core] Re: STI Patch to store full class name

2008-05-05 Thread Rodrigo Kochenburger
@Koz Yeah, i've added the configuration option in order to allow back compatibility. Also, i've moved the ticket to lighthouse http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/114-namespaced-models-and-sti Cheers On May 3, 10:56 pm, "Michael Koziarski" <[EMAIL PROTECTED]> wro

[Rails-core] Re: [Q] How to get authenticiy_token value?

2008-05-05 Thread Mislav Marohnić
On Mon, May 5, 2008 at 3:55 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > How to get value of authenticity_token in my helper method? It's called "form_authenticity_token". "/foo/#{arg.to_param}/delete?authenticity_token=#{form_authenticity_token}" In future, direct usage questions not

[Rails-core] [Q] How to get authenticiy_token value?

2008-05-05 Thread [EMAIL PROTECTED]
How to get value of authenticity_token in my helper method? def my_delete_link(arg) return "/foo/#{arg.to_param}/delete?authenticity_token=#{}" # How to? end Please give me advices. -- regards, makoto kuwata --~--~-~--~~~---~--~~ You received this