search for: schmurfy

Displaying 4 results from an estimated 4 matches for "schmurfy".

2006 Jul 21
4
weird table pluralization problem
When I created a new project and a "equipment" model for an unknown reason to me rails tried to query the table "equipment" and not "equipments", does someone know why it did that ? So I added set_table_name "equipments" in the model class and it now works but I don''t really understand why it is required in the first place... -- Posted via
2006 Jul 23
8
embedding subversion version information into HTML
Hi, Say I want to display the subversion release number in the footer of each page in order to track what version of a site I''m looking at. I know subversion has a substitution keyword (LastChangedRevision) that inserts the last known revision in which that file .changed. So, if I stick $LastChangedRevision$ into views/layouts/application.rhtml, it''ll show the last time that
2006 Jul 22
4
Visible elements in RJS
How can I know if a an element is visible or hidden in RJS I''m trying to hide/show some data but it does not work Error => parse error, unexpected $undefined. #show_doctor.rjs if($("#{@element}").visible()) page.hide "hide_#{@element}" end Any ideas? @element contains the value of the html element -- Posted via http://www.ruby-forum.com/.
2006 Jul 19
13
MySQL Replication as Load Balancing
Hello: We will be setting up MySQL replication for a load balanced environment, but we have to separate reads and writes. How can we modify rails to do so? Has anyone done this already? Thank you in advance! Dan -- Posted via http://www.ruby-forum.com/.