search for: rubyesqu

Displaying 7 results from an estimated 7 matches for "rubyesqu".

Did you mean: rubyesque
2006 Jan 02
3
Selecting conditionally from HABTM
Hello, I was wondering whether there is a nice Rubyesque way of selecting from a pair of HABTM models where one of them is inherited from another object. Here is the situation: I have a ''posts'' table from which ''replies'' and ''articles'' are inherited. Articles have_and_belong_to_many categories, but...
2008 Mar 13
3
Stories (well, integration tests) which aren''t plain text
Hi, Having just played with getting my first plain text story working, I like how it all fits together. It worked out nicely. However, I don''t feel our project needs to have stories as plain text, in fact it''s a slight hindrance for us. Is there any sensible mechanism for doing integration testing using rspec without plain text stories? Thanks, Rob
2006 Jan 28
13
What''s the verb form of id?
Random question: I''ve written a method for the String class that turns an arbitrary line of text in to an identifier, e.g.: "My, what a beautiful day!" => "my_what_a_beautiful_day" "(anb*#NF(AMNV" => "anb_NF_AMNV" We''ve got all these great names already like underscore, classify, titleize and things like that. I''d
2008 May 26
0
[ wxruby-Feature Requests-20367 ] wxToolBarTool (wxToolBarToolBase) missing, thus anti-OO
...None Status: Open Priority: 3 Submitted By: Pascal Hurni (phi) Assigned to: Kevin Smith (qualitycode) Summary: wxToolBarTool (wxToolBarToolBase) missing, thus anti-OO Initial Comment: The fact that WxToolBarTool is missing (these object represent a tool in a toolbar) makes it anti-OO and thus less rubyesque to manage toolbars. Toolbars are the last component (as I''v seen) that requires concrete ID''s. This is a pain to handle in ruby. We want objects (propaganda). Example: tb = Wx::Toolbar.new(frame) tb.add_tool(1000, "Click me", fancy_bitmap) tb.add_tool(1001, &quo...
2008 May 30
0
[ wxruby-Patches-20447 ] Add keyword constructor to new class Wx::ToolBarTool
...e created with keyword constructors like other classes. This patch adds this functionnality. I did not use the code provided by Chauk-Mean shown shown in this thread: http://rubyforge.org/pipermail/wxruby-development/2008-March/001249.html I prefer to stick with the API of wxWidgets and add more rubyesque methods in wxSugar. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=220&aid=20447&group_id=35
2006 May 11
5
Mongrel 0.3.13 Pre-Release -- Out of Hibernation
Hello Mongrel Fans, After about a Month of busy work, bad computers, moving half my house across the country, and other dramas, I''m finally pushing out the next release of Mongrel. This pre-release has lots of little goodies and the start of some documentation that should get everyone primed for the big "Mongrel 0.4 Enterprisey Edition 1.2" coming real soon now. INSTALLING
2005 May 08
3
Overriding date_select in local project to use custom value rather than blank for starting option...
...changes to them. I guess I could also create a function which calls date_select, takes the resulting string, and then inserts my special options in the right place in the beginning of the string returned by date_select, but it doesn''t feel that clean to me. Any thoughts on the most Rails/Rubyesque simple and clean way to do things here? Thanks, Nick