Posts by Lucas Roman Lise • 46 points
3 posts
-
1
votes1
answer55
viewsA: Queries of records in the bank through date
You can use Gem Ransack On your controller: def index @q = Person.ransack(params[:q]) @people = @q.result end In your view: <%= search_form_for(@q) do |f| %> <%= f.date_field :data_gteq…
-
1
votes2
answers73
viewsA: Registration in the form that repeats every month
You can use Active Job available in Rails. http://guides.rubyonrails.org/active_job_basics.html…
ruby-on-railsanswered Lucas Roman Lise 46 -
1
votes1
answer144
viewsA: Render inside the page
You can use the AJAX method .load(), selecting only what you want to update and searching for updated data in your controller through the URL, you can also pass parameters.…
ruby-on-railsanswered Lucas Roman Lise 46