Giter Club home page Giter Club logo

nexter's People

Contributors

bitdeli-chef avatar charly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nexter's Issues

Rails Usage Question

Hello.

I'm trying to use nexter and siphon with Rails and have a question.

I have a regular controller with index, show, edit, etcetera and have added a before_filter like your example.

My questions are where does "params[:book_search]" come from for actions such as show and what is the BookSearch class?

I had though that maybe BookSearch was similar to OrderForm in siphon. But now I'm not so sure. I hadn't planned on putting a form in my views other than index.

Thanks in advance for any clarification.

Breaks when the value contains a single quote

I'm using nexter on a project which needs sort by time (published_at) and name of a model - Entry. But, the next breaks when the name contains a single quote.

ActiveRecord::StatementInvalid (PG::SyntaxError: ERROR:  syntax error at or near "s"
LINE 1: ...= '2017-04-14 18:06:46 UTC' AND (name > 'children's book Ill...
                                                             ^

And the query generated is

SELECT  "entries".* FROM "entries" WHERE "entries"."feed_id" IN (113629430, 980190962, 298486374, 980190966, 980190972, 980190964) AND (published_at = '2017-04-14 18:06:46 UTC' AND (name > 'children's book Illustrator' OR name IS NULL) OR (published_at < '2017-04-14 18:06:46 UTC')) ORDER BY published_at desc, name asc LIMIT $1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.