No results found in makandra dev.

Best results in other decks

...commit Save movie Now change your MoviesController#create method so it prints out the params that Rails sees. For this we comment out the code that was creating the movie...

...and render the params object: def create # @movie = Movie.new # @movie.attributes = params[:movie] # if @movie.save # redirect_to @movie # else # render 'new' # end render plain: params.inspect end Note that #inspect returns a...

OpenMage

...multiple actions. [ 'caption' => $helper->__('Utilization'), 'popup' => true, // Popup new browser window. 'url' => [ 'base' => '*/*/utilization', 'params' => [ 'member_id' => $this->getMemberId(), //'plan_id => $row->getPlanId(), // No can do! ] ], 'field' => 'company_id' // Merge...

...to params: 'company_id' => $row->getCompanyId() ] ], 'filter' => false, 'sortable' => false, ]); Use callback to construct the URL: $this->addColumn('action', [ 'header' => $helper->__('Action'), 'width' => '50px', 'type' => 'action', 'getter' => [$this, 'getFilterParams'], 'actions...

Search in all decks