May 2009
34 posts
I am one weird problem
– #rubyonrails
how do I invalidate model without adding errors?
– #rubyonrails
Overall, this book is intended for innovators looking to retain their edge...
– Safari Books Online - The Merb Way
That page doesn’t exist!
– http://github.com/webreservoir
def test_reset_unknown_cycle
reset_cycle("colors")
end
Anybody tried out the Rails3 subdomain routing yet?
– #rubyonrails
jrails is the bomb
jamescarr: I agree, although I wonder if I should avoid it
I think, both “Authlogic” use database store for session...
– plugin for athentication - Rails Forum
i smell fishy
– WebReservoir
Butt Pusher [And Idiot]
you know what pushes my butts!?
er
you know what pushes my buttons!?
having to create a database table to specify behavior in my rails models!
I made a mistache.
– Using Hyphen in Rails url - Rails Forum - Ruby on Rails Help and Discussion Forum
does $document.ready resolve FIFO?
– #rubyonrails
---------------------------
PARAMS ON FORM SUBMIT
---------------------------
{"obj"=>{"user_data_form_id"=>"5",
"data_form_field_id"=>"15",
"integer_value"=>"x"},
"commit"=>"save",
"authenticity_token"=>"glQcGjgYJq5GktmbpFTSY/b7Wv9A+bE00rdYRlHpRsk=",
"id"=>"41",
"options"=>{"format"=>"table_row",
...
"how will rails know what ID's to use?"
class ActiveRecord::ConnectionAdapters::MysqlAdapter
def initialize_with_increment(a, b, c, d)
initialize_without_increment(a, b, c, d)
execute("set auto_increment_increment=1")
execute("set auto_increment_offset=4")
end
alias_method_chain :initialize, :increment
end
i love overwriting to_param. its the basis of making an app great
– #rubyonrails
#rubyonrails
is there any text editor for ruby?
notepad
text-based
what’s the DRY way of avoiding loading a header partial at the top of each...
– #rubyonrails
♪ Do you have the time ♪ To help me resolve a runaway ruby process… ♪
– #rubyonrails
why does everything have to be a gem or plugin :-/
what happened to "doing it"
AR is a bit squirrely
– The inimitable RubyPanther
You Know How This Will End Up
[12: 10:46] → NameRedacted joined the channel.
[12: 11:19] < NameRedacted > Hello. Is anybody available for help?
notarockstar
Can anyone quickly tell me how to access environment variables inside a module? I have a config.yml which gets read into env.rb (fairly common) and in there i have a config for config_key: 'config value' ... then I have module X which contains class Y which has a method z ... so I am able to say X::Y.z ...... inside method z , I want to access config_key
environment variables not to be confused with things like JAVA_HOME or whatever
--- config.yml gets loaded into constant APP_CONFIG... so i have APP_CONFIG['config_key'] which is what i want to access in the moule
just to be more specific :)
nodoubtarockstar: if yr a rock star, you could figure this out on yr own.
Start counting..You’ll know that there are more JRuby lovers than haters....
– The Mind of Softness
A merbist is: 1. A person who is dedicated to the economic or medicinal uses of...
– Matt Aimonetti « The Merbist
At Least Merbists Aren't Just Doing It Because It...
smoofles is always fascinated how dhh managed to completely kill merb in such a short time
smoofles: it was
smoofles: I think they babbles on about how rails 3 is "coming along" and such, but doubt much tought was given to merb
smoofles: from what I know of dhh's online persona (never met him), he must be very pleased
wmoxam: um, ok
smoofles: well, he had merb in his presentation in the list of "fallen foes" or something
wmoxam: no, it was a point that vocal groups had said that 'Rails will fail' and it hasn't yet
smoofles: anyhow, I don't care much. most of it is certainly ey pulling off developers
smoofles: well
smoofles: it did, in a sense, if they need to get merb people on board to go forward
smoofles: no matter though, I'm prolly the wrong person to comment on what I think EY did/does wrong and what I think of rails devs
wmoxam: Wait, Rails failed because wycats joined core?
smoofles: no
smoofles: but it certainly isn't the paramount of ruby web frameworks if they were a) so afraid of merb and b) thought they need merb's features for their next big version
wmoxam: wow
wmoxam: amazing insight
smoofles: that's beside the point, though – year 1 of Rails and dhh's petulant presentations on how Rails "beats the odds" might be okay, right now it's like a whiny child who doesn't tolerate anyone "competition"
smoofles: and they whole merger fucked up plans of anyone who thought merb will be supported by some time still and the plan of having a rails 3 alpha out by now was stupid from the beginning – but that didn't matter because everyone dissapointed was just a naysayer
smoofles: it was a dick-punch move by EY and DHH boasting and provoking people about it is as retarded as it gets
smoofles: sorry
smoofles: I will probably switch to rails 3 later on, but I'm not really looking forward to have to deal with the idiot community
smoofles: at least people working with merb knew what they were doing
smoofles: and didn't do it because it was "in" or anything
ok, this is getting -really- childish:...
– #rubyonrails
Side effects of crack →
Is Twitter full of imposters?
– The Mind of Softness
Sounds Crazy
Killaklown: you want to call a rails method from javascript?
blj: sounds crazy?
How could a route like the following be made restful? ...
– #rubyonrails
Anyone seen an ActiveRecord bug in Rails 2.2 where a DB col gets set to...
– #rubyonrails
Submit your WTFs to railswtf@gmail.com!
April 2009
31 posts
"Guys, what I make bad ?" he asked →