similar to: Duplicate lines in Rails 1.2rc2 reports

Displaying 20 results from an estimated 5000 matches similar to: "Duplicate lines in Rails 1.2rc2 reports"

2007 Jan 10
3
Rails 1.2.0 RC2 has 4125 duplicate lines
I have been evaluating the excellent and super fast Similarity Analyser by Red Hill Consulting to generate a dupplicated lines reports from Rails 1.2.0 RC2 source code (excluding the tests). On the 10th of January 2007, Rails 1.2.0 RC2 has 4125 duplicate lines in 793 blocks in 231 files * actionmailer has 584 duplicate lines in 107 blocks in 20 files * actionpack has 718 duplicate lines
2007 Jan 18
0
Rails 1.2.0 RC2 duplicate lines Simian Report
I have been evaluating the excellent and super fast Similarity Analyser by Red Hill Consulting to generate a duplicate lines reports from Rails 1.2.0 RC2 source code (excluding the tests) with a threshold of 6 lines. It works great except that simian treats successive "end" as dupplicate lines :-((( such as: end 172 end 173 end 174 end 175 end 176 end I am working on some code to
2008 Apr 29
5
Sharing: dont_repeat_yourself plugin custom RSpec matcher
I wrote a Rails plugin which uses simian to look for duplicates lines in your code and reports in html format, Textmate or Netbeans. I wrote it using RSpec and I have included a RSpec custom matcher: it { rails_application. with_threshold_of_duplicate_lines(4). should be_DRY } If you use Autotest, your specs will fail the next time you do a nasty copy-paste !!! More details in
2008 Apr 01
1
plugin announcement: acts_as_fu
We''ve all seen the job listings. We know what they''re looking for. Rockstars. Code Monkeys. Rails Ninjas. And you''re left thinking, "But I''m just a programmer." Well, not anymore. Today, you become a Rails Kung-Fu Master! "Not me," you say. "I''ve already tried using all the acts_as_something plugins and all the something_fu
2006 Aug 13
1
establish_connection method
I''m digging into rails source code. But I''ve got a problem in undestading actionrecord::base source code which is connection_specification.rb. In the body of establish_connection method, def self.establish_connection(spec = nil) case spec when nil raise AdapterNotSpecified unless defined? RAILS_ENV establish_connection(RAILS_ENV)
2007 Jun 06
2
sharing my netvibes tab about rspec
Link was 404 :-( the correct link is http://21croissants.blogspot.com/2007/06/rspec-changes-log-rss.html I should definitely switch from blogger to mephisto ... Hi, As I am not a big fan of mailing list, I have created a Yahoo!Pipes to generate a RSS from the user & developpers mailing list and integrated it into a netvibes tab. I have also put a few blogs from the rspec authors. More
2007 Jan 20
0
actionrecord gem update produces Zlib::BufError
OS = MS-WinXPproSP2 with hotfixes up to date Dialogue: ---> C:\>gem update Updating installed gems... Bulk updating Gem source index for: http://gems.rubyforge.org Attempting remote update of actionmailer Install required dependency actionpack? [Yn] y Successfully installed actionmailer-1.3.1 Successfully installed actionpack-1.13.1 Installing ri documentation for actionmailer-1.3.1...
2006 May 06
0
RE: Rails Digest, Vol 20, Issue 156
I am looking for a ruby hosting service. Can any one recommend one for me. -----Original Message----- From: rails-request@lists.rubyonrails.org [mailto:rails-request@lists.rubyonrails.org] Sent: Saturday, May 06, 2006 7:37 AM To: rails@lists.rubyonrails.org Subject: Rails Digest, Vol 20, Issue 156 Send Rails mailing list submissions to rails@lists.rubyonrails.org To subscribe or
2006 May 02
9
Updating only one field
At present, I use an update like this to set the user''s last login time: authenticated_user.update_attribute(:last_login, Time.now) However, this calls the following, updating all fields: UPDATE users SET `last_login` = ''2006-05-02 13:27:41'', `hashed_password` = .... Is there any way I can tell ActionRecord to only update the one field? I don''t really want
2006 Feb 08
0
configuration.frameworks
I want to add the rails default logger to a set of classes in addition to the default ActionRecord, ActionController, and ActionMailer. This used to be done in environment.rb, but now it seems to be specified elsewhere. Where has it gone?
2006 Mar 22
0
Another Problem with params
I am trying to do a similar thing for some spares that I am trying to manage... My spare.rb file is as under class Spare < ActiveRecord::Base belongs_to :department, :class_name => ''department'', :foreign_key => ''department_id'' belongs_to :subequipment, class_name => ''subequipment'', :foreign_key =>
2009 Apr 09
1
failed dovecot 1.2rc2 build Solaris 8, gcc 2.95.3
Hello, I trying to build dovecot 1.2rc2 on ancient Solaris 8 with gcc 2.95.3 and it fails with: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/lib -I../../src/lib-settings -DSYSCONFDIR=\""/opt/dovecot/etc"\" -DPKG_RUNDIR=\""/opt/dovecot/var/run/dovecot"\" -DPKG_STATEDIR=\""/opt/dovecot/var/lib/dovecot"\"
2009 Apr 17
2
Quota not being dispayed correctly in 1.2rc2 (with proof)
User reports: 0% of 640MB -- which cannot be true. I logged in as masteruser and was able to confirm this. I'm getting "0.0% von 640.0MB" == "0.0% of 640.0MB" His maildirsize file is attached. His mailbox is nearly full. Manual login: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. * OK [CAPABILITY
2006 May 31
3
class does not inherit (?) ActionRecord::Base
Hi. I''m a newbie at this, so please bear with me. I have several classes which model several corresponding tables. All of them seem to work except one. I have not made many modifications from the scaffold templates. However, with one class, Log, all methods give me the following type of error NoMethodError in LogController#create undefined method `save'' for
2006 Mar 14
1
ActionRecord: Need for "identity"/"serial" columns?
I have a quick question about ActiveRecord and primary key value generation. Does it hurt to define my primary keys as "IDENTITY" (SQL server) or some equivalent database - managed id generation scheme (a la sequences in Oracle, etc.) since ActiveRecord is going to manage my id generation anyway. I''m thinking that for SQL server, even if you define your ids as
2006 May 04
9
Help: wrong number of arguments (0 for 1)
Is it my environment? Is something wrong, cause I thought this should just work? I have a simple table and I created a model and a controller: ruby script/generate controller Restaurant ruby script/generate model Restaurant I edited the controller to this: class RestaurantController < ApplicationController scaffold :Restaurant end I run it and: http://0.0.0.0:3000/Restaurant works fine,
2009 Apr 07
2
Segfault in dovecot 1.2rc2 with quota + public namespace enabled
Hi, I have configured a public namespace ("#Shared"). Since dovecot 1.2rc2 (1.1.11 worked fine) I get a segfault, if I try to access a folder under this namespace when quota plugin is enabled. When the quota plugin is disabled, accessing those folders works. $ dovecot -n # 1.2.rc2: /opt/dovecot/etc/dovecot.conf # OS: Linux 2.6.26-1-686 i686 Debian 5.0 base_dir: /var/run/dovecot
2017 Jun 17
1
(no subject)
I have 4 years of data and for each year, I have initialize the value so now for fitting the model, I want to remove the initial value and get the model based on remaining data set. Could anyone can help on this? I want to get linear model based on fourth column and 13th column but need to remove the initial value for each year and each treatment ( the second column I have 1:36) . Thank you,
2007 Jun 22
1
Ring/Off-hook in strange state 6
HI I have two servers both of which get this message on one of the lines. Ring/Off-hook in strange state 6. The one server seems to be ok with it, but the other one when an extension picks up there is no one there and the incoming call keeps ringing. I tried to adjust the levels in wcfxo.c like someone had suggested, but it didn't do anything. I also upgraded zaptel to the latest. 1.2.18 and
2006 Jan 23
4
ActionRecord: how to update many records in one statement
Hello, I am trying to edit and update all records of table ?intersts? (id, name, description) on one page and has no good idea how to do it right, when updating one record per page it?s ok The question is: what statement instead Interest.update_all(params[:interest]) in controller need to use to successfully update the database table by data passing to controller in parameter ?interest??