Descreva de forma clara e objetiva o problema relatado.
- Acesse a página ...
- Clique no link ...
- Role a página até ...
- Observe o erro apresentado
| Cliente: | |
| LOAD "cli_sk" as fat_cliente, | |
| "cli_codigo", | |
| "cli_nome" as [Cliente], | |
| "cli_cidade" as [Cidade do Cliente], | |
| "cli_regiao" as [Regiao do Cliente], | |
| "cli_pais" as [País do Cliente]; | |
| SQL SELECT * | |
| FROM "bi"."public"."dim_clientes"; |
| class BooksController < ApplicationController | |
| before_action :set_book, only: [:show, :update, :destroy] | |
| # GET /books | |
| api :GET, '/books', 'Lista todos os livros' | |
| def index | |
| @books = Book.all | |
| render json: @books | |
| end |
| class CoursesController < ApplicationController | |
| before_action :set_course, only: [:show, :update, :destroy] | |
| # GET /courses | |
| api :GET, '/courses', 'Lista todas as disciplinas' | |
| def index | |
| @courses = Course.all | |
| render json: @courses | |
| end |
| api :GET/ '/courses', 'Lista todas as disciplinas' | |
| def index | |
| @courses = Course.all | |
| render json: @courses | |
| end |
| # GET /courses | |
| def index | |
| @courses = Course.all | |
| render json: @courses | |
| end |
| # This file should contain all the record creation needed to seed the database with its default values. | |
| # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup). | |
| # | |
| # Examples: | |
| # | |
| # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) | |
| # Character.create(name: 'Luke', movie: movies.first) | |
| course = Course.create({ | |
| "id": 11, |
| class Course < ApplicationRecord | |
| has_many :books | |
| end |
| import java.io.IOException; | |
| import java.net.DatagramPacket; | |
| import java.net.DatagramSocket; | |
| import java.net.InetAddress; | |
| import java.util.Scanner; | |
| public class Cliente { | |
| public static void main(String[] args) { | |
| try{ |
| import java.io.IOException; | |
| import java.net.DatagramPacket; | |
| import java.net.DatagramSocket; | |
| import java.net.InetAddress; | |
| import java.util.Scanner; | |
| public class Cliente { | |
| public static void main(String[] args) { | |
| try{ |