similar to: Question about testing (chapter 12)

Displaying 20 results from an estimated 100000 matches similar to: "Question about testing (chapter 12)"

2005 Dec 19
6
how to do security??
hey, i have maded some security in my website based on http://www.chaconforcongress.com/accounts/login Here they work with users, roles and persmission, and they check it like this, user.has_permission(permission). I have extended this to: users and groups with roles and permissions. With permissions like "view records","edit records","delete records",... def
2005 Dec 21
2
what is print_r in rails
hey, i know u have in php print_r or echo, so that the browser print the variable on top of page, no matter what what is this in rails?? put doesnt seem to work Thanks Nick
2005 Dec 21
1
how to sort records??
hey, ยต i have these records in my database, in a many-to-many relationship clients_users 1;66 2;66 3;66 5;66 6;66 7;66 8;66 14;66 15;66 16;66 17;66 18;66 19;66 20;66 21;66 22;66 clients 1;VME Complex Foster 2;VME Res. Canada 3;Twodecode 5;Index 6;Verleye bvba 7;Venus bvba 8;All Building Services nv 14;Vitro-Service sa 15;Vitro-Clean 16;Vecom nv 17;Ultra lean bvba 18;Solar Cleaning Services nv
2005 Dec 29
3
Post problem with select lists
hey, i have this problem how come i always get -1 for the select list?? rhtml First, select a client. <select id="client_id" name="client[id]" onChange="submit();" > <%= options_for_select(@client_options, @client_id.to_i) %> </select><%= @client_id %> controller if @request.post? if @request.xml_http_request? #called by ajax,
2006 Jan 23
1
Help with hmabt relationships
hey, I want to have this table structure with users and groups A user can be in more than 1 group and a group has more than 1 user. class User < ActiveRecord::Base has_many_and_belongs_to :groups end class Group < ActiveRecord::Base has_many_and_belongs_to :users end I was wondering if i can do this for group in user.groups ...do stuff end -AND- for user in group.users ...do stuff end
2005 Dec 15
3
How to delete a record
hey, i my database i have users and groups, each user can get in different groups my db structure: table groups: id, name, basegroup, firm_id table users: id, firstname, lastname, email table groups_users: group_id, user_id my relation is a many to many: class Group < ActiveRecord::Base has_and_belongs_to_many :users end class User < ActiveRecord::Base has_and_belongs_to_many
2008 May 20
0
At InfoQ: Interview about FXRuby, plus an exclusive chapter from the FXRuby Book
InfoQ has just published Werner Schuster''s interview with me, in which we discuss the FOX toolkit and FXRuby''s implementation: http://www.infoq.com/articles/johnson-fxruby-book-excerpt The article also includes an exclusive sample chapter from the new book, "FXRuby: Create Lean and Mean GUIs with Ruby". To read more about the book, please see its web page at the
2006 Oct 02
0
Audit handbook chapter review, call for general testing
Dear All, Over the past week or so, I have spent some time updating Tom Rhodes' excellent FreeBSD Handbook chapter on Audit for some of the more recent audit changes, such as new features in more recent OpenBSM versions. Since FreeBSD 6.2-BETA2 contains what is likely the final drop of the audit code (modulo any bug fixes) for 6.2-RELEASE, now would be a great time for people interested
2005 Dec 07
4
Importing data for excel file or csv file
hey, i have this website (with ajax also) with lot of records of employee, and as an extra feature i want that the customer can import his employeelist (perhaps 100+ records), lot of work to do this manually. i would create a template like this Firstname Lastname Phone xxxx xxxxx xxxxx yyyy yyyyy yyyyy then they upload the excel file or save it as csv file
2005 Dec 20
1
Sending mail error
hey, i get this message when i want to send a mail 5.3.3 AUTH not available c:/ruby/lib/ruby/1.8/net/smtp.rb:680:in `check_response'' c:/ruby/lib/ruby/1.8/net/smtp.rb:582:in `auth_login'' c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `critical'' c:/ruby/lib/ruby/1.8/net/smtp.rb:581:in `auth_login'' c:/ruby/lib/ruby/1.8/net/smtp.rb:571:in `__send__''
2011 Aug 19
0
R: "New" (i.e., posted last week) Learning Puppet chapters
Imho, should be intesting some idea on the integration of puppet in large corporation, the possible workflow, the separation of duty. For example using something as gitolite, the integration with quality control of some sort, the reporting. I have read something in pro puppet : i am sorry but most of that is discussed there in this area is very basic. Best regards ----Messaggio originale---- Da:
2006 Feb 26
0
Review of Black, Ruby for Rails, Chapter 4
As others have mentioned, Chapter 4 of David A. Black''s book _Ruby for Rails_ is now available for download from the Manning site. The fact that the book is being released one chapter at a time makes it easy to read in small, digestible chunks. I never intended to review every chapter individually here, but now that I''ve done the first three, I feel like I ought to continue.
2005 Mar 08
3
Chapter Numbering in Hieraki
I''m using Hieraki to do some documentation for RubyGems. So far I''m lovin'' it. But I have a question. I currently have three books on the site. It seems that the chapter numbers continue from one book to the next. For example, the first book has 7 chapters (numbered 1-7). The second book has three chapters, but they are numbered (8-10) rather than the (1-3) I
2006 Feb 18
0
Ruby For Rails Chapter 3
Just a heads up, Manning has released chapter 3 of the Ruby for Rails book. I hadn''t saw it come across the list yet so I thought I would say something. If you haven''t got it yet, I''ll give it a recommendation. I''ve found it very interesting thus far.
2012 May 24
0
Ruby on Rails Tutorial Chapter 6 RSpec tests failing
Hello all: I''m a RoR newbie who is currently following the Ruby on Rails Tutorial: Learning by Example book (http://ruby.railstutorial.org/ chapters/modeling-users#sec:adding_a_secure_password). The following Chapter 6 RSpec tests are failing: Failures: 1) User [31mFailure/Error:[0m [31mit { should be_valid }[0m [31mexpected valid? to return true, got false[0m [36m # ./spec/models/
2006 Feb 25
1
Ruby for Rails chapter 4 up now
If you buy the MEAP (Manning''s version of Beta Books), you can now get the first four chapters of David Black book (that''s nearly 25%!). So far, I''ve been really pleased with it. I just grabbed chapter four, and I''ll be reading it soon. Get more information (or buy a copy) at: http://manning.com/books/black -- thanks, -pate -------------------------
2006 Feb 20
0
Review of Ruby For Rails Chapter 3
Here''s my review of Chapter 3: As the author says, this is a transitional chapter. The first chapter was an introduction to Ruby, and the second was a similar introduction to Rails. Now we begin the real purpose of the book, which is to dig into the Ruby behind the Rails. Periodically the question arises on this list about how much Ruby you need to know in order to do Rails.
2007 Apr 06
0
Background Processing Chapter in upcoming book
Hi BackgrounDRber''s, I''m helping Obie Fernandez write a chapter on Background Processing in his upcoming Pro Rails book, and wanted to see if I could run it past the group. Any input is appreciated. See attached (word doc, owch)! p.s. thanks Ezra skaar, and File.read(CONTRIBUTORS).collect Cheers, -- Charles Brian Quinn self-promotion: www.seebq.com highgroove studios:
2006 Feb 14
2
Heads up - Ruby for Rails chapter 2 released
I just checked the Manning website and chapter 2 of David Black''s Ruby for Rails is now available for download. Hammed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060214/d8f88893/attachment.html
2006 Mar 03
1
Samba 3 by Example - chapter 5 & 6 ( Manager ->sambaadmin)
Well I am glad that there has been alot of input on this topic, alot of people are having different opinions but that is because we are not focusing with the problem at hand. The documentation provides full details on how to get samba + ldap working from scratch; but there seems to be a gap between chapter 5 & 6; Once again I will say I love this book; by far the best technical reference