similar to: Plugin: modules or generators?

Displaying 20 results from an estimated 60000 matches similar to: "Plugin: modules or generators?"

2007 Jun 18
6
Something like rcov but more explicit?
Hey list, Does anything exist that can show me which lines are explicitly tested? RCov is great, but it doesn''t really give a sense of _actual_ coverage, indeed, there is no guarantee that functions executed were in fact called as the result of a line being tested. I know nothing of the rspec internals, but would a simple list of executed lines be a relatively simple feature to add?
2007 Jun 21
4
should_receive stubs methods?
Hey, I''m using rspec and rails and have a spec that tests if a before_filter is executed, I also have a spec that tests if a method called by the filter is executed. It appears however that when I should_receive something, it is no longer actually called when I fire the http request. I''m not sure how, or where exactly I should manually fire the filter, either before or after the
2007 Jul 25
5
MockCov: Proof of concept
Hey list, RSpec is great, I''ve been using it at work for a couple of months now. One gripe I have is that I find it hard to know exactly to what extent my code is covered by the specs. I am aware of RCov and Heckle; they''re great, but I''d like to demonstrate another perspective of coverage analysis I''ve hacked up. The perspective is that of what is mocked and
2011 Apr 13
2
[LLVMdev] llvm wiki now a spamfarm
On 13 April 2011 02:49, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: >  I think the wiki is a pretty good place to let people contribute their > knowledge about llvm. What things a maintainer need to do? Hi Chen, In theory, the bare minimum would be to clean it up once in a while, delete the offending accounts and keep an eye on rogue changes. Spam is only the most obvious problem in
2007 May 24
0
British TV channel told to apologise
British TV channel told to apologise A British broadcaster at the centre of a racism row involving Bollywood actress Shilpa Shetty has been found guilty of ''serious editorial misjudgements'' over its handling of the issue and ordered to make a series of apologies. http://2site.com/uvweyc How can I gain access to a Windows NT/2000/XP/2003 computer if I forgot the
2008 Nov 11
1
captcha plugin
Hi all, I was working through the simply rails book, i have completed up to chapter 10, now i would like to add a captcha to my login form, where can i get the captcha plugin? can anybody suggest any links for captcha plugin that would work for rails version 2.0.2 ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2008 Oct 01
10
Recaptcha (or other captchas)
Does anyone have any suggestions for a best practice implementation of Recaptcha (or other captchas - if you recommend going another route, I''m all ears)? I''ve found the recaptcha gem and a plugin but I don''t know which is the best implementation, and I haven''t found a thorough tutorial plus example code for either. Thanks -- Posted via
2006 Jul 01
3
Captchas in Rails
Hello Everyone, I was wondering what people on this list were using to generate captchas within forms on sites they are developing? I know there is a ruby gem named captcha, but I have seen some others floating around as well. Thanks, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Aug 20
0
Raising errors in plugin-files or UploadColumn Validation
Hi all! I have a problem with the validation of uploaded images, or, to be more specific, with raising errors from plug-in files. I am using UploadColumn to upload pictures. Problem is that it won''t raise errors when upload e.g. txt-files. It will say "Upload succesfull", the time-stamp is updated only the picture hasn''t changed. I looked through the code of the
2014 Feb 13
0
[fdo] Captcha added for subscription
]] James Cloos > The site shouldn't rely on ecmascript and nothing should farm out to > goog or the like. Feel free to provide an alternate implementation of captchas for mailman. You can also subscribe without captchas using the email interface if you like that better. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are
2008 May 22
2
Getting InvalidAuthenticityToken errors quite often
How often is the authenticity token updated? The latest error that I got was a submittal of a form, an model validation occured, I click back, make the correction, resubmit the form, then I get an InvalidAuthenticityToken error. Somewhat off topic If a person is using the authenticity tokens is there still a need to use some sort of captcha? Thanks -- Posted via http://www.ruby-forum.com/.
2009 Jan 14
0
Edit method problem with a plural-named model
Hi, I recently made a model called ''news''. I realize that it''s plural and was gonna cause some problems, but I got the routing all down fine with: map.resources :news, :singular => :news_article everything works fine except the EDIT method. it gives me this error: You have a nil object when you didn''t expect it! The error occurred while evaluating
2007 Jun 27
1
rspec_on_rails: assert_select wrapper doesn''t play nice with XML
Hey, I''m using rspec and rspec_on_rails to test some RSS feed views, the problem is that the specs spew out messy warnings when they run: ignoring attempt to close channel with link opened at byte 61, line 3 closed at byte 141, line 5 attributes at open: {} text around open: "ss version=\"2.0\">\n <channel>\n <title" text around close:
2015 Mar 07
2
How to install tp_smapi and acpi_call kernel modules
Hello, I've got a Thinkpad T420 and would like to use full tlp functionality. Therefore I need the kernel module tp_smapi and acpi_call. Have a look right here: http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html#installation There are only fedora related packages but none for RHEL/CentOS. Should I install that repo and hardcode the mirror to the fc21 repo? Regards Tim
2010 May 12
0
OT? Using Arel to generate table names in multiple self join query
Firstly I''m sorry if this is off-topic but I think it''s a question that won''t be answered without good core knowledge. I have written a multiple self join query something like this: Person.find :all, :select => ''children_people_3.*'', :joins => { :children => { :children => :children } }, :conditions => { :people => { :name
2005 Aug 26
2
dom0 bootup -- Device eth0 has differet mac address than expected
CentOS 4.1, Xen 2.0.7. My dom0 is booting up but can''t get to the outside network because eth0 won''t start due to, apparently, Xen providing a different mac address than expected. How do I tell Xen to start eth0 at the bootup with a specific mac address that lines up with the HWADDR= line in my ifcfg-eth0? Note that a normal bootup into CentOS 4.1 outside of the Grub Xen bootup
2012 Nov 26
1
scary messages from autoconf
The versions of avr-gcc in linux repositories mostly do not work. I've been trying to build avr-gcc from sources, using scripts provided by Bingo600. So far the effort has not succeeeded. See here http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=42631 and here http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=124056 for some of what has gone
2015 Mar 07
1
How to install tp_smapi and acpi_call kernel modules
Thanks for your answer. tlp and tlp-rdw are already installed from epel. But these packages miss that kernel modules. So when I want these I have to add the repo and replace $release in the mirror url with 21 of fedora, right? Am 7. M?rz 2015 15:39:14 MEZ, schrieb Bob Marcan <bob.marcan at gmail.com>: >On Sat, 07 Mar 2015 12:52:27 +0100 >Tim <lists at kiuni.de> wrote: >
2007 Sep 02
0
using database for validation
I''ve been playing around with the idea of using the database for model validation where possible (instead of duplicating that validation in rails). My first approach to this was to catch exceptions from save/ create and parse the errors, in my case from postgres, to turn them into something friendlier. Something like: def update create end def create begin super
2006 Oct 28
2
where is the "record" method??? i.e. which is used in generators (e.g. scaffold_generator.rb)
Hi, Anyone know where the "record" method is defined. Its used in generators like in the scaffold generator. An extract from it is below (taken from scaffold_generator.rb): def manifest record do |m| # Check for class naming collisions. m.class_collisions controller_class_path, "#{controller_class_name}Controller",