search for: mrsan

Displaying 7 results from an estimated 7 matches for "mrsan".

Did you mean: mran
2011 Jan 08
9
options_for_select.
Even reading the documentation I can not figure out what is the select_tag difference between this: <% = select_tag (bags [], "options_for_select (bags.collect @ {| bb | [bb.bag_type, bb.id]}, ruser.bags.collect @ {| ub | ub.id}), {: multiple => true,: id => "bags"})%> and this: <% = select_tag "bags [], " options_for_select (bags.collect @ {| bb
2011 May 28
4
how can I investigate when a rspec test fails?
For example: it "re-renders the ''new'' template" do # Trigger the behavior that occurs when invalid params are submitted Sector.any_instance.stub(:save).and_return(false) post :create, :sector => {} response.should render_template("new") end I have the new template under app/views/sectors but the test says: SectorsController POST
2010 Dec 29
1
activeldap anyone using?
Someone use activeldap? I''ve installad the gem but it seems to me that tha latest activeldap version require rails 2.3.8. I use rails 3.0.3 and don''t want to install version 2.3.8. Is activeldap a old gem? -- 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
2011 Feb 24
1
concurrent users.
If I have: class ApplicationController < ActionController::Base protect_from_forgery before_filter RubyCAS::Filter before_filter :fetch_operator include SessionsHelper private def fetch_operator @operator ||= session[:cas_user] && Operator.find_by_uid(session[:cas_user]) log_out if @operator.nil? end end @operator is available for all controllers of my
2011 Jun 12
2
when new rails releases.......
What do you do? A new release can break an application build on a preceding release and often an application needs to modify. So what to do? Fix the rails version in the Gemfile? In this manner I''ll have a lot of rails versions in the disk. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2010 Sep 03
6
upgrading to rails 3.
I''ve installed rails_upgrade plugin with ruby script/plugin install http://github.com/rails/rails_upgrade.git. Then if I run rake rails:upgrade:check it says rake aborted! no such file to load -- initializer What I''ve missed? -- 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 Oct 01
8
field_with_errors.
If a model doesn''t pass validation the field in the view is put under a <div class="field_with_errors">. But who create that div? field_text helper do it? -- 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