similar to: Rails 1.2.0 RC2 has 4125 duplicate lines

Displaying 20 results from an estimated 3000 matches similar to: "Rails 1.2.0 RC2 has 4125 duplicate lines"

2007 Jan 10
0
Duplicate lines in Rails 1.2rc2 reports
I tried to send the following message to the http://groups.google.com/group/rubyonrails-talk mailing list 4 hours ago but it never appears … Is there a moderator in the list to prevent spammers? 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
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
2007 Jan 10
1
Solution for undefined method `use_transactional_fixtures=' ... problem
If you see this error message: undefined method `use_transactional_fixtures='' for Test::Unit::TestCase:Class (NoMethodError) You should check all your dependencies, all the lines containing require and especially require_dependency. You have probably done a refactoring "Rename" a class and forgot to propagate the change everywhere! More details on
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
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
2006 Nov 24
14
CHM Documentation for Rails 1.2.0 - RC1
Since the first release candidate of Rails 1.2.0 was announced yesterday, I decided to update my CHM documentation file for this release. You can find the updated file via my CHM Documentation Project Page [1], or you can download the file directly from here: http://delynnberry.com/assets/2006/11/24/rails-documentation-1-2-0-pre-release.chm. [1] -
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,
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
2005 Nov 16
1
Rails app exception "can't activate active support"
I have gotten several rails apps running under Apache. However today when I tried to run them I get exceptions like this in the http error_log: sh-2.05b$ tail /var/log/httpd/error_log /usr/lib/ruby/site_ruby/1.8/rubygems.rb:144:in `activate'': can''t activate active support (= 1.1.1), already activated activesupport-1.2.3] (Gem::Exception) from
2006 Aug 15
6
Net::LDAP 0.0.4 released
Announcing version 0.0.4 of Net::LDAP, the pure-Ruby LDAP library. Thanks to the many people who have used this library and sent in comments, suggestions, feature requests, and patches. An even bigger thank-you to the folks who have made themselves available to help with testing. Net::LDAP has been quite stable for several months now, so we bumped the development status of the library up to
2006 Sep 18
3
(slightly O/T) Agile dev. contract form for clients?
Apologies for cross-posting. We''ve been asked to do a job for a client who wants to embrace agile development methodologies. Hurrah! However, our standard contract was written for the 1980s. It is full of phrases like "agreed specification" and "change request procedure" and so on. I was wondering, how do other people get around this in contract forms with
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 Apr 10
6
Object isn''t being saved when called through association
I have three models in this small game I''m working on - the Game, Players, and Turns. A Player should be able to rescue another Player on any given turn. So it looks like this: class Game has_many :players has_many :turns def rescue_player(p) t = turns.last t.rescued = p t.save end end class Turn belongs_to :rescued, :foreign_key =>
2013 Mar 18
3
Hiera 1.2.0-rc2 and deep-merge
Stumbled around a bit until I figured out you need to do this: gem install deep_merge to get it to work ! “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.
2006 Jun 27
6
embedding ruby code in a [flash :notice]
The ruby code in this isn''t evaluated... flash[:notice] = "Your last recorded entry was <%= @in_out.time_in %> <br />You are currently marked as ''In'', you probably want to check ''Out''" Is there a way? Craig
2005 Oct 16
13
More than one parameter with link_to_remote
Hi all, I''m trying to pass more than one parameters using link_to_remote, but I''m getting a behaviour that seems quite strange to me. Here''s the code: link_to_remote ''some text'', :update => ''form'', :method => ''get'', :url => { :action =>
2006 Mar 13
7
Problem with params
I''ve got a User model, which holds the following (excerpt): def try_to_authenticate User.authenticate(self.username, self.password) end .. private def self.hash_password(password) Digest::SHA1.hexdigest(password) end def self.authenticate(username, password) @user = User.find(:all, :conditions => ["username = ? AND password = ?",
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)
2006 Jul 27
16
Net::LDAP 0.0.3 released, adds TLS encryption
We''re pleased to announce version 0.0.3 of Net::LDAP, the first pure-Ruby LDAP library. Net::LDAP intends to be a feature-complete LDAP client which can access as much as possible of the functionality of the most-used LDAP server implementations. This library does not wrap any existing native-code LDAP libraries, creates no Ruby extensions, and has no dependencies external to Ruby.
2006 Oct 16
4
Singleton Pattern in RoR
Hi all how can I implement the singleton patter in RoR? thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this