esminc / adhoq Goto Github PK
View Code? Open in Web Editor NEWRails engine to generate instant reports from adhoc SQL query.
License: MIT License
Rails engine to generate instant reports from adhoc SQL query.
License: MIT License
in a query the options "preview", "explain", "tables" do not show any results
I want to drop support Rails3.2.
Because, Rails Maintenance Policy doesn't contain Rails3.2.
Hi.
After trying to mount this and use it in a project, I get this error:
"NoMethodError at /q/1
undefined method `human' for #<#Class:0x007f8b1c39e208:0x007f8b11e132c0>"
The issue is in line 29 of _query.html.slim, namely:
th.created_at= human(Adhoq::Execution, :created_at)
Sometime I only want bohemian SQL execution only.
But current gem depends slim, bootstrap or so for engine view so that some projects rejects adding this gem not to grow Gemffile up too large.
Future plain is:
adhoq-core
gem: includes lib/*
, which covers SQL execution and store results.adhoq
gem: depends adhoq-core
mount Rails engine (some behavior with current)If you go to either of the following addresses, you won't be able to see the list of saved queries.
http://127.0.0.1:3000/adhoq/
http://127.0.0.1:3000/adhoq/q
In fact, http://127.0.0.1:3000/adhoq/q shows the last saved query..
I want to export CSV that uses CR+LF as new line character.
Rails-3.2 and Rails-4.2 (ActiveJob) test case is unstable.
But I cannot recreate this probrem on my machine. ๐
When saving a query ,I get error like :
ActionView::Template::Error (undefined method `edit_query_path' for #<#<Class:0x007fa55c348470>:0x007fa564738140>):
3: h1
4: = query.name
5: .pull-right
6: = link_to [:edit, query], class: 'btn btn-default btn-sm' do
7: i.fa.fa-pencil.fa-pad-r
8: | Edit
9: .pull-right
actionpack (5.0.0.1) lib/action_dispatch/routing/polymorphic_routes.rb:216:in `polymorphic_method'
actionpack (5.0.0.1) lib/action_dispatch/routing/polymorphic_routes.rb:130:in `polymorphic_path'
actionview (5.0.0.1) lib/action_view/routing_url_for.rb:102:in `url_for'
actionview (5.0.0.1) lib/action_view/helpers/url_helper.rb:196:in `link_to'
should be "Refresh" ;)
I want to add edge Rails Gemfile to travis.yml.
Does this project have the ability to prevent destructive queries? (insert/update/drop etc)
Is there a way to scope the tables by default, e.g. append a where to every query that is submitted so select statements are applied only to data related to the current user.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.