search for: ctmailinglist

Displaying 20 results from an estimated 37 matches for "ctmailinglist".

Did you mean: ctmailinglists
2008 Jan 30
6
Rails 2.1
There''s been some great stuff added to edge since 2.0.2. Any chance it might be wrapped up into a 2.1 release? Cheers Chris -- ---------------- http://pushrod.wordpress.com -- old dogs, new tricks http://autopendium.com -- a place your old car can call home --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2006 May 15
4
Anyone got a copy of File_Column trunk
Anyone able to post a copy of the svn trunk of file_column? The website''s been down for the past few days, and I''ve only got the last release (0.31, I think), which is missing a whole load of goodies. Tx
2006 May 05
4
STI and HABTM
Hey gang, How does STI work with HABTM? For instance...let''s say I have the following models ----- Category < ActiveRecord::Base Item < ActiveRecord::Base Product < Item Deal < Item ----- Each product or deal can have categories. Would I then setup Item with has_and_belongs_to_many :categories, then create a table categories_items ??? Is there a better way to do it?
2006 Jul 06
3
How To write an acts_as* plugin
Hi, I need to understand how to write an acts_as_XXX (similar to acts_as_tree) plugin Any good resource to get me started? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060706/a974ff06/attachment.html
2007 Feb 05
2
Caspistrano Deployment Options
I need some feedback on deployment using Capistrano. I am considering the following options for deployment: 1) Mac Mini 2) Parallels with Linux 3) Sandbox Account on my Mac 4) Virtual PC Which one should I choose? TIA. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2006 Aug 02
1
REST and functional tests
Just playing around with converting an apps to the new REST goodness in edge rails, and I''m trying to work out how to convert/write the functional tests. Is the recommended way to explicitly use the actions (e.g. get :show, :id => ...; post :create,..., etc) and test the routes separately, or duplicate the request, in which case how is that done get "/", :id => 5
2006 Aug 07
1
Testing & xml
Probably dead obvious, but are there any assertions for easing testing of xml output, both for builder templates (for RSS feed -- something like a version of assert_tag) and for the new restful stuff. Couldn''t find anything relevant in the API. Cheers Chris
2006 Jun 12
2
Validating a non-object attribute in a form via checkbox?
Hi there A user can place an ad with various attributes via a form; however, I want the user to check a box signifying that they''ve read the terms and conditions for use of the site. So the ''terms'' is not an attribute of the Advertisement model. I could check that the user has ticked the box in my controller but would like to bundle this up with the validation
2006 Jun 15
5
[Fwd: Functional test problem]
Anyone? -------- Original Message -------- Subject: Functional test problem Date: Wed, 14 Jun 2006 19:49:03 +0100 From: Chris T <ctmailinglists@gmail.com> Reply-To: ctmailinglists@gmail.com To: rails@lists.rubyonrails.org Embarrassingly late (apps already well advanced), have decided top get to grips with testing and am having a week hopefully covering everything I''ve already coded (so far it''s been worth it --...
2006 May 17
2
uninitialized constant Magick Please help!
Dear Rail experts, thank you for such a resourceful list. I am working on an application using Rails 1.1 [REVISION=4240] whereas my server has Rails 1.0 installed. I recently decided to give file_column a try and everything works fine except I am getting the following error: "uninitialized constant Magick" I have tried setting environment variables,
2006 Nov 06
2
where to provide additional methods to classes
Hello All, I have a little question on rails. For instance, if I need to provide additional method to the Object class (method that I could use in all the classes then), where can I put this code: class Object def my_new_method_1 ... end def my_new_method_2 ... end end I mean... can I add this in my_controlller.rb after the controller class definition ? Can I put it anywhere next to a class
2006 Jul 17
3
functional tests run fine on their own but fail with rake
this is a weird one. i have 8 functional tests classes. when I run them individually, they all pass. When i use rake or ''rake test:functionals'' one of them fails. I''ve traced the error back to a problemwith reading data from the session. when running the tests individually, the data is there. when run using rake, it''s nil. has anyone come across anything
2007 Oct 02
23
Mongrel using way more memory on production than staging. Any ideas why?
I''ve been trying to track down the culprit of erratic behaviour and crashes on my production server (which is split into a number of Xen instances), so set up a staging server so that I could really try to get to the bottom of it. The staging server (also split with Xen) is set up pretty much identically as far as the mongrel_cluster server is concerned (the production box has two
2006 Apr 23
5
Newbie Ajaxy Question
Hi all, I''ve been trying to figure this out by myself and while I feel I''ve made some progress, I feel kind of stuck. Let me see if I can explain what I''m trying to do. I have a very simple form with a text box and a text area. The text in each of these will eventually make it into a row in a table in my database. For now, the value in the text box represents a
2006 Apr 03
5
Is old school STI broken? How would you do the same now?
So this new STI :through thing is still not clear to me. I have a project now where I''m using this: class List < ActiveRecord::Base belongs_to :user end class StaticList < List has_and_belongs_to_many :items end In the script/console: >> StaticList.create NameError: uninitialized constant StaticList What? ok, fine. So a List.create would be in
2006 Jul 16
6
How to access element attributes using RJS?
For example, in the following block: page.select(''.foo'').each do |element| ... end How would I access, just for example, the id attribute of each element in the collection? I''ve randomly tried element.id and element.attributes[''id''], but neither of those has worked. I''ve also been unsuccessful in finding any documentation on this, but it
2006 Jun 14
13
Undefined method
I really hope this is not a bad question (as in he''s abusing the list). However I could use a little direction (even though I''m reading books, tutorials) Right now I''m getting a undefined method `category'' for 4:Fixnum The specific lines from the rhtml file are: <td><%= link_to position.category_id.category, :action => "show", :id =>
2006 Jun 08
5
Suggestions wanted for non-logged-in user in closed beta phase
Will shortly be deploying first iteration of app to some beta testers (i.e. friends), and want them to be able see it both from logged-in view and guest (i.e. not logged-in) view. The two are a fair bit different. It''s a closed beta, so (hopefully) no pages (other than a blank login page) will be visible. The question is, what''s the best way for them to be able to see (and
2006 May 21
5
Looking for a Rails AJAX gallery/tutorial
Hello everyone, Do any of you know of a downloadable Rails app that demonstrates all the bundled AJAX-iness in an impressive form? I''m looking for two things: - something I can show off to wow people with Rails'' built-in AJAX power, then show them the code that does the work and wow them again with the simplicity. In short, something that will impress potential customers, as
2007 Apr 23
3
getElementsBySelector problem in IE
I''m having this problem with IE and getElementsBySelector, but am a relative js novice, so quite possible -- likely even -- that I''m doing something stupid. Either way, a fresh pair of eyes would help. Basically I''m duplicating a fieldset within a form (so you can upload more than one photo). [BTW, the fieldsets have a CSS id which relates to the object id of the