April 2009
31 posts
mine code is not uglier than most of rails base code
– #rubyonrails, referring to the following code:
(search_conditions_additional << ["billsec => ?", longer_than]) unless (longer_than = params[:dur][:start]).blank?
Merbists thinks in different way. You’ll see those Merb advantages in...
– The Mind of Softness
my ubuntu box is 100% easier to setup than mac
– #rubyonrails
English fail. But very funny.
XXX: hi i need help for fix one app financial
XXX: and i want pay for this help
AAA: you want someone to pay you to fix your app?
AAA: tempting
Well, _there's_ your problem!
class ActiveRecord::Base
def offensive?
false
end
end
def create
@message = Message.new(params[:message])
@message.set_sticky
current_user.messages << @message
@section.messages << @message
build_annex(params)
respond_to do |format|
ActiveRecord::Base::transaction do
begin
@message.save!
@annex.save!
@file_revision.save!
@section.save!
flash[:notice] = translate(:'message...
Please dont remove cgi support from rails
– Rails Lighthouse
i am trying get a new server setup with my rails app - to serve as a new production site...
when I try running .. sudo rake db:create RAILS_ENV=production .. i get Unknown database 'CLU_production'
shouldn't this command create the database!
when I run trace on the db:create, i can see why it is failing.. it appears that rake is trying to initialize the rails app before completing the command - but it is running through my models and trying to access contants etc that can't yet defined - because the db doesn't exist!!! - how the heck are you supposed to run rake db:create and tell rake not just create the damn db - not load the rails app?
this seems like a catch 22 to me
ah - I figured it out ... need to modify environments/production.rb config.cache_classes = true to be false during the db:create !!!!
I may have been an idiot
– #rubyonrails
Softmind is a pretty respected company in the RoR development space
– @robinwauters
TechCruch's source of Rails news - SoftMind ! →
Silence before Storm →
Adam Milligan is a my refactoring hero. Adam Milligan refactoring scope is not...
– Rails Lighthouse Ticket
it would be great if we could get ruby on all the standard hosts -_-
– #rubyonrails
Who the hell is Jacqueline Onassis??
midnight_toker: Are you a big Steve Miller fan?
wmoxam: who is steve miller?
Ugh. Rails is so frustrating. OS X is definitely not the OS to do Rails...
– @danhere
this...is..AUSTRALIA! →
And the rank 106 goes to none other than...! →
begin
raise RowPriceless, row if Float(hash[:price]).zero?
rescue
# unreadable price
raise RowPriceless, row
end
I actually went ahead and ditched haml_tag & haml_concat a while back and...
– New Haml Helpers - WTF?? - Haml | Google Groups
can drop_table migrations be reversed easily?
– #rubyonrails
I am now really sick of waiting and reading same thing again and again.
– 2 Months and nothing is updated yet - From WebReservoir AKA SoftMind
Wanted; Free, world class, Ruby on Rails... →
i wish my domain was easy enough to have the luxury of using :include and having...
– just another fucktard noob in #rubyonrails who knows all the answers
Ruby on Rails 3 with cloud computing is the best suggestion i can give as a...
– SoftMind
Use git commit -a to fake file behavior
– http://www.slideshare.net/anildigital/git-introduction