TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Open-Source Rails Point of Sale

27 pointsby websitescenesabout 11 years ago

5 comments

al2o3crabout 11 years ago
Neat project. A couple code-reviewish notes:<p>* why use protected_attributes in an new Rails 4 project? I&#x27;m curious what motivated this decision.<p>* if you&#x27;re destroying records, you&#x27;ll want to look into using the :dependent option to has_many to make sure you clean things up. However, you may want to carefully consider where in the app &quot;deletion&quot; actually makes sense; anything that winds up in an accounting system probably shouldn&#x27;t be deletable at all.<p>* get the tests running. The version on Github has a controller test for &quot;ZusersController&quot; which doesn&#x27;t appear to exist in the application...<p>* a minor thing, but it&#x27;ll drive future contributors crazy: hard tabs vs. soft tabs. Ruby code is usually two-space soft-tabs, but even if you don&#x27;t agree with that at least be <i>consistent</i>. There are files on GH that are a riot of mixed tabs (configurations_controller.rb is a notable example) and nobody&#x27;s got time for that.<p>I&#x27;m not the best at catching replies on HN, but ping me on Github (same username) if you want to discuss further.
评论 #7574932 未加载
评论 #7574952 未加载
Buetolabout 11 years ago
Is there any screenshot or publicly accesible demo ? The linked page doesn&#x27;t give much information
评论 #7574016 未加载
iagorodriguezabout 11 years ago
I found this project really interesting. Forked it. It might be interesting to create platforms like this for the very commmon uses-cases: ecommecrce, blogging, CMS. Currently there are solutions for all this use cases in the rails community but imo they are pretty directed. I mean, they are &quot;difficult&quot; to modify. I would like something like rails composer where you can configure the basic elements of the platform without custom generators.
LukeWalshabout 11 years ago
This is something I&#x27;m 100% behind. As a developer who works integrating with point of sales systems this is an industry ripe for disruption. The pain of integrating is killing innovation in retail. Whether it will be open source or someone like square I look forward to an industry standard in the future.
评论 #7574063 未加载
评论 #7574232 未加载
xpop2027about 11 years ago
This is awesome, looking forward to the progress and contributing!
评论 #7574191 未加载