| afrench | was not expecting Colloquy to make a chirping sound |
| cardioid | Colloquy likes making noises I tell it not to |
| afrench | I did too....apparently not enough though |
| StevenSoroka | I was wondering what caused that sound |
| railsbot | ::rails-commit:: Changeset [6761]: Sanitize Base#inspect. Closes #8392. @ http://dev.rubyonrails.org/changeset/6761 |
| StevenSoroka | I love you railsbot |
| Casey123 | afrench: i thought it was a record scratch sample, was like wtf and ignored it assuming something happened in colloquy haha |
| afrench | yeah, that was the sound I had too. |
| Casey123 | haha |
| afrench | at least it wasn't a klaxon or anything |
| xtrmntr | is it possible to have directory structures for a site, and not use ids? basically i need to mimick my current site which is set out like like www.url.com/businesses/australia/business-type/business-name |
| JackDanger | sure. |
| xtrmntr | but i haven't seen any ror sites that do that kinda thing |
| JackDanger | Check out the to_param method on your models. |
| xtrmntr | i've been using plone, but wanting to move it to either rails or django but would prefer rails |
| JackDanger | as would most people in this chatroom :-) let me work up some code for you. Give me a sec. |
| xtrmntr | ohh nah that's alright, i haven't gotten started with ror yet, just wanting to know if stuff is possible before i dive in the other question was running multiple ror sites from shared mysql tables |
| JackDanger | Alright ;-) Yes, it's entirely possible. You mean, multiple sites that don't have any knowledge of each other? |
| xtrmntr | would there be any problems if say 4 or 5 sites used the same database tables to grab and write info they'd have different templates, etc, but filter data from the database |
| StevenSoroka | weird. :) |
| xtrmntr | so say a table of businesses, but depending on where the business is located, a different site will display different results |
| StevenSoroka | xtrmntr: it's possible, I do it |
| xtrmntr | awesome |
| JackDanger | totally possible - just don't clobber your data by having each site think it 'owns' the database and can do whatever it wants with it. |
| StevenSoroka | yeah.. well, I have two apps, one db, and a ton of sites. :D xtrmntr: word of caution, it's not easy to set up. ;) |
| JackDanger | StevenSoroka: is it difficult because of Rails or just because of the nature of the project? |
| krayola1 | when there are multiple applications or sites working against the same data, my personal experiences say to not let the applications (of any form) directly query or manipulate data -- use stored procs to control that... but that's just me. |
| xtrmntr | StevenSoroka: I don't mind a challenge :) |
| StevenSoroka | JackDanger: uh, rails doesn't play nice with dynamic db-based routing. I ended up using render_component to do it krayola1: I disagree. :) |
| krayola1 | StevenSoroka: it all really depends on the complexity of the underlying database, however. |
| JackDanger | StevenSoroka: wow, you might be the only person I know who uses components. Bravo. |
| xtrmntr | would it be a problem to use a bunch of (i'd guess you'd call them applications) in a site. Say you allow people to upload and manage photos, submit news, create lists of stuff |