Category Archives: Ruby on Rails

SOAP APIs R Klunky or How to waste bandwidth for no good reason

The fact that SOAP is still around is, to be honest, absolutely beyond my comprehension. No serious effort seems to have been put into something like JSONRPC. Still, when it comes to some API calls, SOAP is pretty darn good, … Continue reading

Posted in PHP/MySQL, Ruby on Rails, Ruby on Rails, Tips and Tricks, Topics, Web Design | Tagged , , , , | Leave a comment

Rails Migrations, Primary key is not allowed in a has_and_belongs_to_many join table

I was working like a fiend on a project, and forgot to add :id => false to a join table migration. For completeness, here’s the migration as it is supposed to look:

As I said, I forgot the :id … Continue reading

Posted in Ruby on Rails, Ruby on Rails, Topics, Tutorials | Tagged , , | Leave a comment