search for: karmacrash

Displaying 20 results from an estimated 20 matches for "karmacrash".

2006 Oct 13
6
If I stub do I have to mock as well?
...#39;]: #<Mocha::Mock: 28754118>.successful?() - expected calls: 0, actual calls: 1 I was confused by this and it seemed to indicate that I need to tell Order that a call to #successful? was expected. Do I have to create a mock in order to stub? How do I do this? Thanks, Tim Case tim at karmacrash.com
2006 May 30
3
act_as_dom_tree
im thinking about extracting this into a plugin, but it currently relies a couple gems and another rails plugin. is there a dependency management feature with ./script/plugin? i never could get it to check anything out of SVN let alone install dependent stuff... -- Posted via http://www.ruby-forum.com/.
2006 Apr 07
2
Functional testing Pretty Urls
Anyone know how to how to test pretty urls (set through routes.rb)? I want to don''t use get :action, because the routing changes how a certain action is requested. How does one go about testing this? Thanks, Tim Case tim@karmacrash.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060407/83770425/attachment.html
2006 Apr 04
4
Freezing Architecture-Dependent Gems such as Rmagick, Ferret, Unicode
...ut does this rule of thumb come with an exception? Architecture dependent gems such as RMagick, Ferret and Unicode have dependencies that cannot be included as a frozen gem, and with these types of gems you still are left depending on the one installed the server? Yes or no? Thanks, Tim Case tim@karmacrash.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060404/8ce8576f/attachment.html
2006 Mar 26
7
MVC Design
Hello I have been using LAMP for the last 6 years and i am now finally making the choice to move over to RoR. This MVC stuff is all very new to me. As i have no trouble understanding ruby code... or any code for that matter.. my challange comes in getting my head around the MVC stuff. Is there any demos articles that you guys have seen that takes a site or a business breif and explains where
2006 Mar 20
22
Applicationwide BusinessObject/Hash
Hello, I''m a total newbie, so please forgive my ignorance. I am trying to port an application from java to ruby. In order to do that, I need to put the object containing all the business logic into something like application scope. The nicest solution would be just to have an application wide hash, where I can put all kinds in of objects. Where and how would I instantiate such an
2006 Jun 17
1
Vamos fazer o lançamento do livro? (Brazil)
Hi, I apologize for a portuguese message at this group, but I am trying to reach brazilians who read this great group. It''s about the release of the first Ruby on Rails book for the brazilian audience. Here it goes: Galera, finalmente terminei de escrever o livro e entreguei o material para a editora esta semana, agora resta esperar at? que eles nos digam quando ser? a data do
2006 May 10
1
RESTful Web Services
Hi, could someone post a good link explaining exactly what these are, and why I should care about them? Thanks, Tim Case tim@karmacrash.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060510/76274e95/attachment.html
2006 May 25
2
basecamp prefixes
basecamp prefixes each url with a client name... client1.updatelog.com/todos client2.updatelog.com/milestones any ideas on how this is done? - one app? - one app per client? - one app per domain? -- Posted via http://www.ruby-forum.com/.
2006 Mar 07
0
Making AR attriibutes private
...:Base belongs_to :item validates_presence_of :item_id, :rated_by def initialize(item, user) super() self.item_id = item.id self.rated_by = user.id end end How do I make item_id and rated_by private and still accessible internally by the constructor? Thanks, Tim Case tim@karmacrash.com
2006 Mar 27
0
acts_as_taggable not loading in dev environment?
...undefined local variable or method `acts_as_taggable'' for Item:Clas Indicating that the acts_as_taggable pluggin is not loading, yet in my test enviroment I can run tests against act_as_taggable methods for that very same class just fine. Has anyone else experienced this? Tim Case tim@karmacrash.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060327/a392ef31/attachment.html
2006 May 30
6
Why would I choose RoR over Turbogears
I''m trying to get some answers as to why I (my company actually) would go with RoR over TurboGears. The developer staff is fluent in both Ruby and Python so that is not an issue. Rails is well into its release cycle whereas Turbogears won''t be at 1.0 until later this week. They both do essentially the same thing and they both have cool features unique to themselves
2006 Mar 15
3
rails apps look & feel
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smile_n.gif Type: image/gif Size: 144 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060315/e96cfba2/smile_n-0001.gif
2006 May 13
4
Eric Meyer about frameworks (Rails, too)
Hi, for those of you who haven''t read: http://meyerweb.com/eric/thoughts/2006/05/08/flummoxed-by-frameworks/ ""Oh", they gush, "you should absolutely try Ruby on Rails! It''s so easy! It''s almost like writing regular English!" Which means they''re clearly on crack, because Ruby on Rails is so very different from a human-written language
2006 Mar 30
2
Functional test confusion
I have been reading about testing in RoR for what seems like hours now in search of the answer to what is probably a simple problem. Where is the best place to test the second action explained below? I have a controller (NetworkingController) with a method (create_network_segment) that makes use of two models (NetworkSegment and NetworkIpaddress). This particular method does two actions: 1.
2006 Apr 30
13
Programming with designers in mind
Gents, We''re hard at work on a new Rails app. We''re a small group of developers...not a web designer in the bunch. We know CSS enough to be dangerous, but we shy away from the "softer" skills (all the while envious of those with that capability). We intend to grow our application in terms of functionality, but I need to make sure we keep an eye towards
2006 Apr 11
9
rails equivalent to asp''s Application object?
In asp you have an Application built-in object, which works just like the Session hash, but it lets you share information among all users of a given application. which is the rails equivalent??? and if there isn''t, how would you implement such a thing ? (there would be concurrency issues to take into account, in fact asp''s application object has some lock and unlock methods
2006 Apr 06
8
Fastest learning path to RoR
hi! with a 4GL background, wanting to learn RoR, what is the fastest learning path i should take? should i go grab a RoR tutorial, and learn Ruby along the way, or start with plain Ruby first? thanks for any inputs!
2006 Apr 07
8
Why Ruby on Rails won''t become mainstream
Why Ruby on Rails won''t become mainstream http://beust.com/weblog/archives/000382.html Kind of interesting, but didn''t convince me. Though, yeah, I can imagine a lot of naive programmers sticking with PHP and VB (the type of crowd that also doesn''t run their own servers, so they''re dependent on hosts offering Rails for them). Rails DOES have an IDE - soon
2006 Apr 06
16
Rails Masters'' debugging techniques -> Rails Recipes?
Hi, This msg for Chad Fowler or anyone who fits the subject line. I bought the Recipes book and really like the way it has been progressing. There is one subject I''d like to see explored in detail. Having come from Assembly and C background I find that a ''must have'' tool in your collection is the debugger. I find debugging a Rails App the most thorny issue inversely