search for: djangst

Displaying 8 results from an estimated 8 matches for "djangst".

Did you mean: django
2011 Oct 19
1
Rails 3.1 and minitest
I''m looking for a simple way to integrate minitest/spec with Rails 3.1. Anybody have it working? There''s an older article on MetaSkills about this but it adds stuff I don''t want. -- 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
2010 Dec 31
2
why observer can't fire in rspec? help .
I read the guide and api and i created Observer on model, she can run on rails console of test env. but when i use rspec , the observer can''t run in, it''s never step in. some good man help me, please. i debug it use one day and one night, i can''t sleep in today night unless i solve it. -- You received this message because you are subscribed to the Google Groups
2011 Jan 08
6
Need help in Installing Rails 3.0.3
This is my gem env RubyGems Environment: - RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) [i686-linux] - INSTALLATION DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136 - RUBY EXECUTABLE: /home/arjunkishore/.rvm/rubies/ruby-1.9.2-p136/bin/ruby - EXECUTABLE DIRECTORY: /home/arjunkishore/.rvm/gems/ruby-1.9.2-p136/bin - RUBYGEMS PLATFORMS: - ruby -
2011 Mar 02
1
Member route error
I''m getting a RoutingError for a member route I can''t figure out. I''m posting a simple form that has a submit button as a confirmation step. Here''s the route: # routes.rb resources :orders do post ''confirm'', :on => :member end 1) "rake routes" shows it''s there: confirm_order POST /orders/:id/confirm(.:format)
2010 Dec 29
5
Beginer: Question about routing on Rails 3
I bought this book about rails for beginers (head first Rails) and its quite simple and good for someone who has no clue about Rails (or any other language) On chapter two it talks about routing but unfortunately the book is for rails 2 and i have rails 3 installed on my mac. The line i have to enter in the config/routes.rb of my application is: map.connect ''/ads/:id'',
2011 Feb 17
16
Unindent ERB output
Hi all, I''d like to unindent a block of ERB specifically to combat the extra spacing being added to content inside <textarea> by the browser. Is there such a feature in ERB? I shall denote indentation with underscores in the pseudo code example below. Thanks in advance, Khoan. myview.erb: <html ...> __<%= render ''form'' %> </html>
2007 Nov 22
1
Installation error
Hello, I''m having a problem installing rails on OS X 10.4. I installed RubyGems 0.9.5 and when I use the command "gem install rails --include-dependencies" I receive the following output: INFO: `gem install -y` is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list Bulk updating Gem source index for: http://gems.rubyforge.org
2010 Dec 28
0
HABTM associated record presence validation
Given a HABTM relationship, for example between Products and Categories, is it appropriate to add a validation such as the following? # product.rb validates :categories, :presence => true This works for me. If there''s not at least one associated category then validation fails, and if there is then it passes. However I''m wondering if it''s correct or if there might