search for: workingwithrail

Displaying 20 results from an estimated 59 matches for "workingwithrail".

Did you mean: workingwithrails
2006 Dec 25
15
What I Want For Christmas
Calling All Mongrel Minions! I wanna have some fun and would like this as a Christmas present. The site http://www.workingwithrails.com/ has this lame popularity system that''s kind of irking some of the main Ruby contributors. I think it''s kind of funny, but would like to demonstrate what an army of motivated people can do to these kinds of popularity contests. So, as a present to me, I''d love for...
2008 May 26
5
Noob SASS error (permission denied)
I just created the sass directory in my stylesheets directory and when I reload my page I get this error: Status: 500 Internal Server Error Permission denied - /Users/Justin/kicksite/trunk/public/ stylesheets/ application.css /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 72:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/haml-2.0.0/lib/sass/plugin.rb: 72:in
2008 Mar 10
10
tutes on testing controllers
hello spec''ers, i''m in the hunt for guides on testing controllers with rspec, would you guys recommend any? thanks Oliver -- Oliver Azevedo Barnes oli.azevedo.barnes at gmail.com +55 11 9768 0193 http://www.linkedin.com/in/oliverbarnes http://workingwithrails.com/person/4704-oliver-barnes
2008 Jun 17
6
Book released "Aptana RadRails: An IDE for Rails Development"
...there is a lot of room for improvement; but it can come in handy, specially if you don''t have any previous experience with the Eclipse interface, which can be a bit intimidating at first. If you want some background information or want to get in touch, you can visit my profile on [3] workingwithrails Regards, Javier Ramirez [1] http://www.packtpub.com/aptana-rapid-rails-development [2] http://aptana.com/rails [3] http://www.workingwithrails.com/person/5987-javier-ramirez p.s. I don''t pretend to start a flame war about IDEs here. I''ve been happily developing RoR projects...
2010 Apr 15
12
[PATCH] Add :touch option to has_many associations
...94/tickets/4392-add-touch-option-to-has_many-associations <https://rails.lighthouseapp.com/projects/8994/tickets/4392-add-touch-option-to-has_many-associations> cheers -- Diego Carrion http://www.diegocarrion.com http://www.mouseoverstudio.com/blog/ http://www.twitter.com/dcrec1 http://www.workingwithrails.com/person/13580-diego-carrion -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@go...
2009 Aug 12
5
Challenge for object_id, Garbage Value
I am facing strange problem. I have an object @part=MainPart.find(:all) 1. @part.each_with_index do |mainpart,index| 2. <p><%= mainpart.object_id%></p> 3. end Here problem is that object_id is reserved for rails. Here object_id field in my table . Now i want to get value <%= mainpart.object_id%> is giving GARBAGE VALUE. Is there any solution apart from
2009 Oct 23
1
Anyone using the rspec textmate bundle with Ruby 1.9.1
...he process of facing converting a rails app to use Ruby 1.9.1. Has anyone figured out how to use 1.9 with the RSpec bundle in textmate and preferably how to switch back and forth? -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
2006 Dec 07
0
Working With Rails - Phase 2 preview - next 24 hours only
Hi Folks, If anybody has a bit of time on their hands today and would like to give the new version of Working With Rails a try check out: http://workingwithrails.com/blog/2-phase-2-beta-testers-required-apply-here In the mix are the enhanced popularity charts and recommendation system to name but a few of the many improvements we have made as a direct response to your feedback. Look forward to hearing from you. Best Regards, Martin Sadler. Lead Develo...
2009 Oct 30
1
Any pioneers who've configured passenger to support some apps running in 1.8.x others in 1.9?
...he PrefPane for at least one of the ruby versions. Has anyone trod this road before? Is there an easier way. Am I crazy? Those questions are not meant to be mutually exclusive. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
2008 Mar 07
2
Trouble using RESTful helper
Hi, I am trying to get into this REST thing, I have a nested resource whith the following route: ActionController::Routing::Routes.draw do |map| map.resources :members map.resources :clubs do |club| club.resources :members end map.connect '':controller/:action/:id'' map.connect '':controller/:action/:id.:format'' end Everything worked ok for this
2008 Mar 03
2
how can i know type of attribute with active record
Hello, In my database, I have a table "products" with attributes : - id - title ->string - desc -> text I use active record, but I don''t know why recover the type of this attribute with active record? I try attributes_before_type_cast but I don''t see the type Can you help me? Excuse for my english (I''am a young student french) -- Posted via
2007 Nov 01
1
List of Nth removed associated objects.
...le, or am I missing something that makes this fundamentally impossible? 3. If it is possible, is it a worthwhile feature that other''s would find useful, or is it a bad idea or not worth the changes required to Rails that would be necessary? Thanks. -- http://www.5valleys.com/ http://www.workingwithrails.com/person/8078 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email...
2008 May 22
9
Retrieving Mutliple Records using find_by_*
I was hoping that AR''s find_by_* magic methods would help me retrieve multiple items somewhat like the following: names_to_find = [''Larry'', ''Moe'', ''Curly''] found_people = Person.find_by_name(names_to_find) Is there a way to accomplish this using find_by_* (or even find(:all) using some sort of conditions) or must I resort to SQL
2011 Feb 03
2
Possible to ask rspec to show more code in the debugger?
This came up from an other issue where I needed to go check something in test::unit. Immediately when I dropped into the debugger in test::unit I saw something I have been missing: test unit by default shows a number of lines of code. Is there a way to make the rspec debugger do this? I am not sure if it is just me, but seems to me that when I moved to rspec, certain things which seemed to be
2008 Mar 06
2
GateKeeper, Model Level Permissions Management
...inder returns an object the user doesn''t have permisison to read. More Info Here: http://5valleys.com/posts/show/34 Online Documentation/Installation Instructions Here: http://gatekeeper.rubyforge.org/ Feedback and Questions strongly encouraged. -- http://www.5valleys.com/ http://www.workingwithrails.com/person/8078 --~--~---------~--~----~------------~-------~--~----~ 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...
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
...see something like: Running: cucumber /Users/rick/mastermind/features/codebreaker_starts_game.feature --format=html false Cucumber runs fine from bash. Am I missing some setup? -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale
2010 Mar 17
3
rails+prawnto: setting :type to :prawn in a #render_to_string call not working
Hello, my question is rails related though it is also somewhat specific to the prawnto plugin (installed latest version as of 2010-03-15). I would ask on a prawnto forum/list if I knew where one was. Anyhow, I''m using rails 2.3.5 (with ruby 1.8.6 patchlevel 111) in an app that is successfully using the prawnto gem (with the prawn gem version 0.7.1). I''ve got a a
2009 May 24
11
Class method not being stubbed
Hi guys. I''m setting an expectation on a class method. For some reason, the method isn''t being stubbed, and the expectation isn''t seeing the call. In KeywordListsController#create, I call the private method #create_keywords_and_associate, which calls AdSenseHeavenParser#parse . Thus, some of my specs set an expectation on AdSenseHeavenParser#parse . However, that
2009 Dec 27
5
Difficulties in understanding Rail-Plugins in depth
Hi, i try to understand how plugins work in detail. Often you see stuff like: class Post < ActiveRecord::Base   acts_as_commentable end I wonder what''s happen all there. What kind of language-feature is behind this call "acts_as_commentable" ? In my opinion you need some kind of extend or include to extend the functionality of a model. And exactly this is which i found
2011 Apr 28
3
difference between validate and validate_on_create
i just ran into a problem with some test, and i am not exactly sure why, but the difference happened when i changed my model validation from: validate :custom_validation to: validate_on_create :custom_validation can someone give me any ideas on where in the chain the validation takes place? thanks! -- Posted via http://www.ruby-forum.com/.