[Rails-core] Legacy databases

2010-11-25 Thread Gustavo de Sá Carvalho Honorato
Hi, I'm experiencing problems with Rails when using a database with users table and columns names different from default. When I try to register an new user using the register form, I got the following error: * * * ActiveRecord::RecordNotFound in UsersController#create Couldn't find Role

[Rails-core] discussion concerning template streaming

2010-11-25 Thread wakathane
Hi, I found this post http://yehudakatz.com/2010/09/07/automatic-flushing-the-rails-3-1-plan/ some weeks ago but looking at master I didn't see anything implemented yet. Because I already invested some time thinking about this idea, also taking asynchronous db queries into account, I'd like

[Rails-core] Documentation Drive

2010-11-25 Thread Ryan Bigg
Whilst this isn't the usual flavor of core chat, I believe that the documentation of Rails is on-topic with this group, as it's just as important as the code and patches usually discussed. I've decided to start a documentation drive for the month of December and maybe even January. I plan on

Re: [Rails-core] Documentation Drive

2010-11-25 Thread Andrew Kaspick
I agree that the new rails 3 docs need a lot of work compared to the 2.3 branch. Methods like before_filter for example, don't even appear in the api docs in the methods pane. And I'm pretty sure a lot of other methods are hidden away in dependent gems now, so they don't show up as core Rails

[Rails-core] Re: Documentation Drive

2010-11-25 Thread Ryan Bigg
Yes, the before, after and around filter documentation is lacking because they're class eval'd. I have no clue how you'd document something like this, but I can imagine its exceptionally frustrating for newbies to go to find these methods in the API.Why is it done this way?