search for: pattern_id

Displaying 3 results from an estimated 3 matches for "pattern_id".

Did you mean: battery_id
2006 Jul 13
2
having a problem with acts_as_state_machine
Hi all: Below is s a dump from script/console in development env. Am I not supposed to be able to find the record later and use the state machine functionality, or have I missed something? Thanks Forrest ---------------------------- >> ts2 = TalkSession.create( :person_id => 2, :pattern_id => 2) => #<TalkSession:0x35811f0 @attributes={"pattern_id"=>2, "id"=>11, "person_id"=> 2, "state"=>"looking_for_experts"}, @new_record=false, @errors=#<ActiveRecord::Errors:0x34627b0 @base=#<TalkSession:0x35811f0 ...>,...
2008 Sep 29
4
RJS is not loaded
...ich I use now under Rails 2.x. It contains the refreshment (adding content or records) of an div via RJS/JS. I access the RJS via (Controller): respond_to do |format| format.html { redirect_to :controller => ''pattern'', :action => ''show'', :id => @comment.pattern_id } format.js but the RJS is not startet. The rjs contains: page.insert_html :bottom, :comment, :partial => ''list'', :object => @comment page[:comment_form].reset page.replace_html :notice, flash[:notice] flash.discard Non of the listed action is done :(. What could be the r...
2006 Jun 08
4
datetime fixture format for Mysql 5.0
Hi All: I develop on several machines, most have Mysql 4.* and one has Mysql 5.0. On 4.*, the following erb for a fixture works fine: updated_at: <%= 1.days.ago.to_s:db%> But fails on 5.0. I had a similar deal when I had date fixtures, and switched forrmats so that both 4.* and 5.0 were happy. is there to_s:db_works_for_mysql_50() ? or similar? Thanks Forrest