I\'m having trouble running a rack app using rackup. This is my config.ru: $:.unshift \"#{File.dirname(__FILE__)}/lib/\"
http://titusd.co.uk/2010/04/07/a-beginners-sinatra-tutorial I was trying to run rackup config.ru from the command line as instructed in the tutorial above in section 4. It ende开发者_JAVA技巧d up say
I\'ve found this question, which doesn\'t really solve开发者_JS百科 my problem but at least maybe lets me phrase my question the right way.
I am building a ruby on rails project. it is a portal. I have a situation as follows: the user browses around. Suddenly he gets a doubt.
Let\'s say that I have two model开发者_StackOverflow中文版s - one called Post and one other called Video. I then have a third model - Comment - that is polymorphically associated to to each of these m