My Blog

All about my activities, Ideas and everything.

Category: Ruby

Rails lost session after doing a POST

I might be the only silly person on the Internet, because I haven’t found anyone having the same problem as I had before. So, in the future there might be someone like me. Basically, you have a rails application, you didn’t realise that if you do a POST from a plain without using 123form_for(@some) … [...]

Ruby : Command-line twitter client made easy

Have you every told off that you’re playing in your work? Why do you have to open a browser twitter.com to be so obvious that you’re not doing your job well. Well, you can build a command-line twitter client very easy. So, you will be one of the geeks who use terminal all the time [...]

Ruby: Find unscrambled words from a list of scrambled words

Suppose you have a list of words, and you have another list of unscrambled words. How would you find unscrambled words in the list of words. For example, you have a list of words: 1. testtest 2. apple 3. college 4. abcdefg 5. school … and a lot more, says 1000 words And a list [...]