similar to: problem with ruby gem activate when trying to run actionpack tests

Displaying 20 results from an estimated 300 matches similar to: "problem with ruby gem activate when trying to run actionpack tests"

2005 Dec 16
0
auto_link fails to handle tilda''s (~) and markdown fails to handle acute accent (`)
Hi There, So I was just having some trouble with auto_link and markdown. Specfically auto_link was failing to handle urls with tildas in them (~) e.g. http://www.hawaii.edu/~name/index.html and markdown couldn''t handle an acute accent (`) e.g. Hawai`i It seems that acute accents (or backticks) in Markdown signify code segments, and it seems there''s an open ticket for this:
2006 Jun 21
1
Newbie Four Days on Rails
Hi all, Having successfully gone through Bill Walton''s Tutorial ''Rollining with Ruby on [Instant] Rails'' I decided to tackle John McCreesh''s ''Four Days on Rails'' Tutorial. I changed the Rails version as recommended in the tutorial. All went well until I entered the following command:- ruby script/generate model category I got:-
2014 Apr 23
0
Something went wrong
http://secret-brushlands-1375.herokuapp.com/users/sign_up Not sure why all of a sudden I am getting this error message when I try to save a new user - Here is the log file: C:\rails_projects\store4>heroku logs 2014-04-23T21:35:54.918695+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/act ivesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call' 2014-04-23T21:35:54.918698+00:00
2007 Feb 07
0
strange sqlite3 errors - validates_associated & failing activerecord unit tests
I''m getting two strange errors, both which I believe relate to sqlite3. The first one is with validates associated. Here is my test: require File.dirname(__FILE__) + ''/../test_helper'' class SubscriptionPlanTest < Test::Unit::TestCase fixtures :subscription_plans fixtures :publications def setup @six_month_gold = subscription_plans(:six_month_gold)
2006 Aug 15
0
BlueCloth throws exceptions! Be careful! (was: auto_link fails to handle tilda''s (~) and markdown fails to handle acute accent (`))
On 12/15/05, Sam Joseph <sam@neurogrid.com> wrote: > markdown couldn''t handle an acute accent (`) e.g. > > Hawai`i > > It seems that acute accents (or backticks) in Markdown signify code > segments, and it seems there''s an open ticket for this: > > http://www.deveiate.org/projects/BlueCloth/ticket/24 I would just like to bring this to
2010 Sep 23
1
Patch to fix docs for auto_link
Hi I''ve contributed a patch which fixes an incorrect example in the documentation for auto_link in ActionView::Helpers::TextHelper. The example uses truncate in the old style of tuncate(text, length) which no longer works, so I''ve patched it to use the new tuncate(text, :length => n) style.
2006 Jan 10
0
auto_link generating error (nil.gsub) in functional test
Hi everyone, When running tests, I get this error for running auto_link on a set of column data: test_list(PersonnelControllerTest): ActionView::TemplateError: You have a nil object when you didn''t expect it! The error occured while evaluating nil.gsub On line #28 of app/views/personnel/list.rhtml 25: <tr valign="top" class="<%= alternate_rows
2005 Dec 18
0
PostgreSQL unit test failure
PostgreSQL 8.1, Win32, Ruby 1.8.2 for Win32 native. Rails 1.0 gems. Starting on line 784 of the ''base_test.rb'' file for ActiveRecord 1.13.2 is "test_default" When I run the unit tests for ActiveRecord against Postgres, everything passes except for this test. It looks like modified_time returns a default of ''nil'', rather than Time.now, as it should. Is
2006 Mar 30
2
How do I format text before saving it?
I tried to use a before_save and use simple_format, it returns and undefined method error. Can I even use these methods within a model? I tried to use auto_link and it failed too. What am I doing wrong? Furthermore, would it be recommended I format text before saving it to the database? Advantages or disadvantages? -- Posted via http://www.ruby-forum.com/.
2007 Nov 13
4
question about activerecord test_numeric_fields in base_test.rb
There''s a test for activerecord called test_numeric_fields in base_test.rb. here''s the test def test_numeric_fields m = NumericData.new( :bank_balance => 1586.43, :big_bank_balance => BigDecimal("1000234000567.95"), :world_population => 6000000000, :my_house_population => 3 ) assert m.save m1 =
2006 Dec 29
0
Rails AR/Oracle Unit Test: [5808] passed (fixed)
"minam" made AR/Oracle happy again, thank you! http://dev.rubyonrails.org/changeset/5808 ------------------------------------------------------------------------ r5808 | minam | 2006-12-29 11:05:53 -0800 (Fri, 29 Dec 2006) | 2 lines try to appease the angry Oracle ------------------------------------------------------------------------ U activerecord/test/base_test.rb U
2007 Oct 07
0
Rails AR/Oracle Unit Test: [7769] failed (getting worse)
"bitsweat" has kicked AR/Oracle while it was down... http://dev.rubyonrails.org/changeset/7769 ------------------------------------------------------------------------ r7769 | bitsweat | 2007-10-06 22:29:37 -0700 (Sat, 06 Oct 2007) | 1 line MySQL: speedup date/time parsing. ------------------------------------------------------------------------ U
2007 Aug 19
6
layout inheritance
According to "Ruby On Rails", the layout call is suppose to be inherited: (page 508) "Subclasses of a controller will use the parent''s layout unless they override it using the layout directive" I have a case where this is not working. I have not spent time to concoct a stand alone test. I wanted to verify that David''s book is correct first. Can someone
2007 Sep 23
12
Next camping release
Dear camping users, having been contacted by Julian Tarkhanov, I am willing to prepare the next camping release. _why has given me his friendly approval, with the reserve that camping.rb should be lower than 4k. He also told me that he wanted to remove the ActiveSupport and Markaby dependencies. I am writing here to get the users input so that I don''t do any mistake. So far, my plans
2007 May 31
4
Sample Merb App
I put together a sample app to help people learn Merb: http://svn.depixelate.com/applications/invoice_tracker/ I also blogged about it here: http://depixelate.com/2007/5/31/taking-merb-for-a-spin -- Zack Chandler http://depixelate.com
2006 Aug 09
1
GemNotFoundException installing Rails - actionpack not in the repository
Hi all, I got an error on gem install rails which I do not understand? What am I doing wrong? Any help or suggestions will be greatly appreciated. Cheers, Onno ttempting local installation of ''rails'' ocal gem file not found: rails*.gem ttempting remote installation of ''rails'' pdating Gem source index for: http://gems.rubyforge.org nstall required dependency
2006 Aug 09
0
Bug in ActionPack
I have a controller named "guest_group" with an action "list" and a controller named "guest" with an action "group_list". Internally the views seem to be cached after converting the ''/'' in the path to ''_'' -> there is a clash in my code were an erroneous view (of a previously accessed action) is rendered. Ugly as
2006 Aug 12
0
BUG in actionpack , error evaluating nil.downcase ?
hi all, I try to deploy on my host (site5) on I have this error with dispatch.fcgi start ! ( RAILS_GEM_VERSION = ''1.1.6'' ) You have a nil object when you didn''t expect it! The error occured while evaluating nil.downcase /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_controller/request.rb:18:in `method'' any idea ? arnaud
2006 Aug 14
2
ActionPack: number_to_phone error
Question about the number_to_phone function as provided by rails in actionpack: http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html If I do this in my controller: num = number_to_phone(params[:phone_number]) I get this error: undefined method `number_to_phone'' for #<TicketsController:0xb7a2bfcc> Whereas if I do this in my view: <%
2006 May 16
0
htmltools 1.09 doesn''t play nice with ActionPack strip_tags!
All, I''ve discovered an incompatibility between HTMLTools 1.09 (a very handy HTML parser) and ActionPack 1.12.1. Basically, they both do some HTML parsing and they both create a module named HTML::Tag, which causes confusion when said Tag object attempts to be instantiated in the ActionPack context. That said, now I get to choose which one''s namespace to fiddle with. But a