Comments (1)
@toreserter I couldn't reproduce this error. TodosController does not have any code to destroy todos. Also my destroy request log likes this:
Started DELETE "/todos/22" for 127.0.0.1 at 2012-09-02 16:05:52 +0300
Processing by TodosController#destroy as JS
Parameters: {"id"=>"22"}
Todo Load (0.2ms) SELECT "todos".* FROM "todos" WHERE "todos"."id" = ? AND (deleted_at IS NULL) ORDER BY starred DESC, created_at ASC LIMIT 1 [["id", "22"]]
User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
(0.0ms) begin transaction
Todo Exists (0.1ms) SELECT 1 AS one FROM "todos" WHERE ("todos"."name" = 'laheyyy' AND "todos"."id" != 22 AND "todos"."user_id" = 2) LIMIT 1
(0.3ms) UPDATE "todos" SET "deleted_at" = '2012-09-02 13:05:52.118833', "updated_at" = '2012-09-02 13:05:52.120591' WHERE "todos"."id" = 22
(3.6ms) commit transaction
Rendered todos/destroy.js.erb (0.6ms)
Completed 200 OK in 21ms (Views: 5.4ms | ActiveRecord: 4.5ms)
update transaction only updates deleted_at
from forgething.
Related Issues (20)
- email content must be updated
- v0.2.0 HOT 1
- tag editing
- tag colors
- "new todo" must be above todos
- Fork me HOT 1
- forgething.com doesn't send daily email HOT 1
- forgething.com backup needed HOT 2
- starred todos
- new todo going below
- big todo sign on the upper left side
- footer required
- show all todos page must grouped by deletion
- complete todo alert message must updated HOT 1
- if no due date, there is "left" string
- Should a completed todo taken back? HOT 1
- Twitter auth db problem
- Redirection problem with google account
- done & delete collectively
- Rails security
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forgething.