I'm trying to put the number of pages on the pe, but by giving crtl + P to print the number is just below the content, that 99% of the time is either in the middle of the page or a little below it.
I want to use the SideNav of Materializecss, but when I put it in application.html.erb, using the documentation images they are not where they should stay.
Followthecurrentcode:application.html.erb<!DOCTYPEhtml><html><head>&...
I am creating a system where the user creates a proposal, in the proposal form he must enter the data of the client that is in a separate table.
This is working to create the proposal, but not to upgrade, because the way I am presenting below...
I have the following code:
<p id="notice"><%= notice %></p>
<h1>Produtos</h1>
<table class="table table-hover custom" id="tabelaProduto">
<thead>
<tr>
<th>id</th>...
Hello, when trying to execute ruby commands or rails in the terminal of the Linux Manjaro error occurs informing that the command is not recognized.
I tried to perform the same procedure I used for Ubuntu, but it did not work. Anyone have any t...
I would like your help with this issue below
I have 3 Tables:
Product Purshase Supplier
supplier_id product_id name
class Purshase < ActiveRecord::Base
belongs_to :product
end
class Product < ActiveR...
Routes:
Rails.application.routes.draw do
get 'home/inicio'
root 'login#new'
scope "/login" do
get "/acesso", to: "login#create"
post "/acessorecebendo", to: "login#create"
get "/sair", to:"login#destroy"
end
resources...
I'm going to have a "form" inside it will have a WYSIWYG like get the data typed inside it and save it in the bank, because I'll have text and images inside. I'm developing in Ruby, and trying to understand tinymce-rails, I'm new to Ruby develop...
Hello! I have the following code snippet from the home page of my project:
<li class="next" style="display: inline-block; margin: auto">
<a href="/produtos">→</a>
</li>
This hyperlink can...
My Controller:
class RoomsController < ApplicationController
before_action :set_room, only: [:show, :edit, :update, :destroy]
def nome_completo
"#{title}, #{location}"
end
# GET /rooms
# GET /rooms.json
def index
@roo...