March 2010
2 posts
class GuestPerson def method_missing( meth_name ) raise LoginRequiredError end def respond_to( meth_name ) true end # overwrite ruby's id method def id raise LoginRequiredError end end
Mar 9th
Mar 1st
February 2010
5 posts
Recycled objects  →
“You really advise me to read from the database at every request? Seems a  little inefficient.”
Feb 27th
“I’m afraid of Rails.”
– Twitter / botanicus
Feb 16th
“Rails has the power to seriously damage ecosystem of Ruby software”
– Ruby & Stuff - Dear Rails, stop steal our projects NOW!
Feb 15th
“Jonesy__: Hi, in my app I am getting InvalidAuthenticityToken. I have cleared...”
– #rubyonrails
Feb 10th
“23:18 actsasjason: does anyone write test in here? 23:18 RubyPanther: no I...”
– #ror
Feb 5th
January 2010
5 posts
“RubyPanther: testing isn’t nearly as important as important a skill as...”
– #rubyonrails - “wait. what?”
Jan 31st
“blaines: What’s a good way to save an activerecord object in a callback...”
– #rubyonrails - RTFM
Jan 26th
“rhizmoe: unless User.first, User.create(…); end”
– #rubyonrails - how to implement an Admin role security check
Jan 26th
“toretore: it’s pretty obvious from some of the entries who put them there...”
– #railsbridge
Jan 19th
“03:37 weev: “Unto him that blasphemeth against the Holy Ghost it shant be...”
– #rubyonrails
Jan 11th
November 2009
2 posts
“After I handed in my resignation letter yesterday, my manager remarked that...”
– http://twitter.com/batasrki/statuses/6085981205
Nov 26th
“crazy_pete: i just know BETTER than to use gems mark[oz]”
– #rubyonrails
Nov 2nd
October 2009
10 posts
“Management needs me to use an outdated authentication system. And they want no...”
– #rubyonrails
Oct 30th
“crazy_pete: rails is 100% pure ruby? Really?”
– #rubyonrails
Oct 28th
“it’s just kind of sad that Rails is a bit like the World of Warcraft of...”
– allcapitalized - http://twitter.com/allcapitalized/status/5232259537
Oct 28th
“The fact that RoR decided that SqlLite is the default database is a pretty good...”
– rubyonrails-talk
Oct 26th
1 note
“I wish ROR simply disappear, and let proper programmers do their job.”
– http://magentoconsultant.com/wp2/?p=2568
Oct 24th
“xjunior: I need a favor from someone here. I need that someone just freeze the...”
– #rubyonrails
Oct 14th
“User1: you got laid? User2: UNOBTRUSIVELY”
– #railsbridge - we are taking our work home.
Oct 5th
“One solution is to pass current_user to all the models whenever you need....”
– Using current_user in model and other places
Oct 4th
“i tried session[:@list.id][:s_answer] = @list.answer. why doesn’t that...”
– #rubyonrails
Oct 2nd
The Works
is there a good way to adjust the looks of your webpages?
reaVer: learn css.
so css works with ruby?
• Kalzath is sensing a railswtf entry
Oct 1st
September 2009
14 posts
“A lady could have given a birth to a baby in 9 months, but Rails 3 team could...”
– Twitter / RailsGirl aka WebReservoir aka SoftMind
Sep 28th
“how do i change routes so user_path(1) will be /1 and not /users/1 ?”
– #rubyonrails Note: for all you hardheaded shitasses out there, allow me to explain the WTF is that /1 is no more “pretty” than /users/1
Sep 28th
“anything that imagemagick can do, paperclip can too”
– #rubyonrails typical misguidance
Sep 27th
“was after_update deprecated?……. ah nvm didnt scroll down the docs”
– #rubyonrails
Sep 25th
“I cut and pasted some code once. The app still worked afterwards. That...”
– Twitter / James Weiner
Sep 25th
1 note
“hehe. I was thinking about taking twitter api data and piping it into a...”
– #rubyonrails
Sep 24th
“I don’t get RailsWTF anymore. Where are the WTF’s?”
– Twitter
Sep 23rd
“whats going on with merb? are they still developing new features or is every new...”
– #rubyonrails
Sep 23rd
“what’s #{} called?”
– #rubyonrails
Sep 15th
“Besides decoupling views from controllers, a cell also implements business...”
– Cells - Components For Rails: Overview
Sep 15th
1 note
“I think [Ruby on] Rails has tapered out a little bit lately. Maybe the new...”
– PHP creator Rasmus Lerdorf
Sep 13th
Sep 13th
“Hello! I can’t seem to remember the command to create a ruby environment?”
– #rubyonrails
Sep 5th
“hey, how should i start ror? i know advanced php”
– The Eternal Question [via #rubyonrails]
Sep 4th
August 2009
11 posts
“how do i call length on nil?”
– #rubyonrails
Aug 31st
“I’m coding Ruby on Rails outside on my porch. It’s still 93’...”
– Twitter Spammer
Aug 29th
“[…] this is outrageous instance variables.”
– Trapped In Ruby on Rails Reserved Words | CodeWeblog.com A must read WTF
Aug 28th
“what if all maintainers get hit by a bus? (BUS FACTOR)”
– #ruby-lang troll pointing out a danger in programming in Ruby [and why Ruby doesn’t scale]
Aug 28th
“I’m assuming my question may be too complicated for this room, but I...”
– Idiot in #rubyonrails, thinking this would motivate anyone to help him
Aug 26th
Aug 14th
Insignificant Whitespace
def self.labelable #:nodoc: public_instance_methods. reject { |h| h =~ /form|field_set|submit|hidden|password|file/ || h =~ /_with(out)?_label/ }. map { |x| x.to_sym } end
Aug 14th
Ruby on Rails has grown enormously due to its following benefits: It follows Agile Software Development cycle It is consistent & simple; and supports Perl and Python. [Emphasis added] It uses the Model-View-Controller (MVC) architecture pattern to organize application programming. It provides scaffolding which can automatically construct some of the models needed for a basic website. ...
Aug 14th
3 notes
"because i want to see what AR generates"
module ActiveRecord class Base class SQLReturn < StandardError; end def self.sql_for(method = nil, *args, &block) connection.class_eval do alias_method :old_execute, :execute alias_method :execute, :return_sql_without_executing end method && send(method, *args, &block) || self rescue ActiveRecord::Base::SQLReturn => e ...
Aug 11th
unless @sense.find(&:any?)
RubyPanther: unless [@clients,@employees,@customers].find(&:nil?)
Aug 4th
Hi doubt in unit testing - Ruby on Rails:... →
Aug 4th
July 2009
11 posts
Or Safety Googles
i want to ask 1 question
when i develops application with Ruby on Rails
then if i have to use any plugin
then i have to surf on Net and then find it and then use it
why it is not like that
basic plugins should be provided with Rails
so i have not to surf on Net and install
when i install rails
don't worry, rails 3 will fix all of this
oh that's great
it will be so powerful you'll need safety goggle to operate it
*goggles
is it so ?
or kidding ?
yes, there will be a warning label on the package
when Rails3 will come ?
soon, very soon
when you least expect it
k
Jul 31st