n8agrin
Codey Fauser’s Rails RJS Template Tutorial
almost 6 years ago by n8agrin on quirks.exposured.
I couldn’t get to Codey’s site regarding RJS Template Tutorials, even though it was Google’s #1 hit and most other blogs referenced it...
Linux command to find (and count) all the files in a directory, excluding sub directories.
almost 6 years ago by n8agrin on quirks.exposured.
find . -maxdepth 1 -type f | wc -l If you want me to explain this, let me know, otherwise you should be able to figure it out by doing `man find` and...
ruby incrementer, where is ++ and - - ?
almost 6 years ago by n8agrin on quirks.exposured.
They’re not there. Ruby doesn’t have them. Mostly this is a syntactic decision from the creator ‘Matz’ to move away from thinking...
visual_effect? What the hell?
almost 6 years ago by n8agrin on quirks.exposured.
Seriously, what the hell? So tonight, I’m playing with a form that I want to blind-down when someone clicks a button. I can remember seeing some...
require_gem in Rails? Nah, don’t bother…
almost 6 years ago by n8agrin on quirks.exposured.
I was trying to get the ruby gem ’simple-rss’ to work in my controller, and was having a hell of a time. In environment.rb I was doing the usual...
modules in Ruby on Rails
~6 years ago by n8agrin on quirks.exposured.
Yesterday I was playing around with a bit of code which highlights a few important aspects of Rails, not the least of which is the use of modules. I have...
Ruby on Rails plugins wiki page
~6 years ago by n8agrin on quirks.exposured.
Perhaps one of the most important pages on the wiki regarding plugins: http://wiki.rubyonrails.org/rails/pages/Plugins...
Ruby on Rails + Engines
~6 years ago by n8agrin on quirks.exposured.
Just found this site (ok, I’m out of the loop) and find it interesting: http://rails-engines.org/ I currently am using the original version of the...
acts_as_taggable for Ruby on Rails
~6 years ago by n8agrin on quirks.exposured.
There are a few how-to’s on the web explaining the general setup of this gem, but let me give my quick explination so that you will hopefully not...
find_by_* methods in rails
~6 years ago by n8agrin on quirks.exposured.
Rails uses the following schema: Classes represent databases; Objects represent rows in the database; Rails has a universal `find` method for all models...
