can anyone help me out with an ActiveRecord problem? I create a new instance of my object, I can run a find and retrieve it, then I remove the connection (ActiveRecord::Base.remove_connection), then re-establish the connection, then run the find and the object is gone! Very bizarre bug, hoping someone else has seen something like it or has some ideas.
— #rubyonrails
my hole application…….error: i got an nil
— #rubyonrails
who owns the copyright to a rails patch?
— theoros in #rails-contrib
if i alias_method_chain :after_save, :some_other_method and define after_save does that after_save definition muck the chain?
— #rubyonrails
rsl: i’ve been away a while, and am wondering if you’re one of the abrasives from before, or a whole new one
— sheldonh in #rubyonrails
Can you give me the Idea please.
The other major weakness is the product is built using Ruby On Rails. Ruby On Rails seems to be a development environment with a lot of future possibilities, but as a general rule you don’t want your revenue-generating product to be based on cutting edge technology. There’s a lot of unforeseeable pitfalls in that area.

Arid, Extra DRY

  • ruxpin: how can I set the schema_migrations table name?
  • ruxpin: I have two rails applications using the same database
  • rsl: and yr using migrations in both?
  • ruxpin: yes
  • rsl: quel desastre!
  • ruxpin: why?
  • ruxpin: atm all of the migrations are in the main app
  • rsl: i'd personally keep them all in one app and have the other a "slave" as far as migrations.
  • ruxpin: but it gets quite problematic when you don't want the 2nd app on some servers
  • rsl: like i said... quel desastre!
  • rsl: but it sure is DRY.

Detente

  • lifo: elux: but is it threadsafe
  • elux: lifo: not if you wrote it
Qn: How do I make url_for forget route memory? I have a page reached via a route like ‘/admin/:controller/:action’, and want to generate a link in that view, without the ‘admin’ bit at the beginning.
— #rubyonrails