Comments (5)
Ok, I was wrong about (3) - that was the me using the gem wrong. 1+2 I stand by.
from dropbox.
- fixed via your pull request.
- A lot of the modifications are pragmatic: "def foo() ... end unless Bar.respond_to?(:foo)". I'll make them all pragmatic.
from dropbox.
aaand done.
from dropbox.
Thanks. Sorry for the harsh language. Modifying core objects is a pet pieve of mine.
I don't believe there is any "pragmatic" modification of core objects for a gem like this, that one would not expect to do this type of thing.
If I use this on some obscure admin page of my site, so it is in my Gemfile, and another extension decides it's "pragmatic" to use the same method name for subtly different behavior, it will break something and make it really difficult to track.
This is one of the worst common practices in Ruby and has been denounced by many of the core Rails folks. Rails does this, but they're modifications are well documented and Rails is the core of any application importing that code. I'd prefer they didn't do this kind of stuff either, but nothing is perfect.
Anyway, I'm glad you made this somewhat less bad.
from dropbox.
I'm open to patches if you'd to help teach me another elegant way of accomplishing this :)
from dropbox.
Related Issues (20)
- ArgumentError: convert! has been removed. HOT 3
- 'No such file or directory' on session.upload HOT 2
- Minor error in README.rdoc example HOT 1
- Why is the length of the path limited to 255 characters? HOT 1
- HTTPBadRequest when working with deserialized session HOT 4
- Staying authorized HOT 1
- Allow setting the oauth token and secret manually? HOT 6
- Does Session.authorize! still work? HOT 4
- authorize! not working ? HOT 3
- An option to return hashes instead of structs HOT 2
- DropboxController::Filebox HOT 1
- Dropbox API v1 HOT 1
- Support for Dropbox API v1 HOT 1
- 401 Unauthorized HOT 10
- [feature] Support for delta and copy_ref HOT 5
- moving a file from iphone to my public folder
- upload issue
- Problem with the last version of Dropbox API (May 1st, 2013)
- Array#to_hash extension breaks one form of Kernel.exec and so prevents selenium-webdriver from working HOT 1
- 400 Bad Request (OAuth::Unauthorized) HOT 3
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 dropbox.