…framework) when adding to a collection established using has_many :through. Given three models: User, List, and UserListLink (which has foreign keys for user and list): class User < ActiveRecord::Base has_many :user_list_links, :dependent => :destroy has_many :lists, :through => :user_list_links end class List < ActiveRecord::Base has_many :user_list_links, :dependent => :destroy has_many :users, :through => :user_list_links end class UserListLink < ActiveRecord::Base belongs_to …
When I joined Steve at Ordered List in 2008, we both knew we wanted to build something similar that was our own and thus Harmony was born. Over the years of content management, I learned that content is not a title and a huge content box, but rather, it is made up of lots of little pieces of different types of information.
Modeling this type of data in MySQL was quickly becoming a pain, so we pulled the trigger in November 2009 and switched Harmony from MySQL to Mongo (despite …
…Interaction Design Association , write for A List Apart , and publish a Rosenfeld Media book will get on his soapbox to teach us a new way to do UX Research.
Hey you!
Yes, I'm talking to you. Have you ever had an idea for a product or a website? Most of us have. Did you ever ask anybody about their opinion of it? How did you do that? Face to face interviews? Focus groups?
Once you had a prototype of the idea did you ever observe someone using your …
…I'm going to save myself the annoyance and just unfollow you now. After all, you're not on My List of People I Must Be Okay With, and I'm not on yours. I'm just choosing to have one less brief annoyance in my day.
If you @ reply to me on Twitter and it's a stupid joke, or a dumb retort, or something you could have just asked Google, there's an extremely good chance that you'll do it again. And why sign up for a service that annoys me every time I look …
A List Apart: Articles: Responsive Web Design
Note to self: study this.
(tags: webdesign )
Finally | a fluid Hicksdesign | The Hickensian | Hicksdesign
Beautiful work.
(tags: webdesign )
Judge: DMCA Protects YouTube in Viacom Lawsuit | Wired.com
This is a huge win for all of us that rely on the safe harbor provision of the DMCA.
(tags: dmca law youtube )
Post from: Derek Powazek
…- come up with X ideas every day => idea quota.
Tackle Any Issue With a List of 100 - The List of 100 is a powerful technique you can use to generate ideas, clarify your thoughts, uncover hidden problems or get solutions to any questions.
Your App's Website Sucks » Matt Legend Gemmell - If your website is trying to sell a product, here's some insight.
…the model is actually ListParameter s ), we're able to create not only the new List record, but also assign the ListParameter record too.
Not only for belongs_to
You can also assign has_many s through this too, although the syntax is a little bit more uglier. Again, providing you're using accepts_nested_attributes_for for the has_many association, this should work just as well as if you posted it from a real form. And there is a link: | url | clicks_attributes[0][user_id] …
Interesting tidbits from around the web (May 25th):
Free Printable Sketching, Wireframing and Note-Taking PDF Templates - Smashing Magazine -
Paper Browser: It's a Browser only in Paper -
iPad as desktop status monitor -
PhoneTell Adds Caller ID and Canned SMS Responses to Android -
A List Apart: Articles: Quick and Dirty Remote User Testing -
…
If you design web sites, order this book . Informative, fun, direct, clear, practical. It's everything you want in this kind of book. This is the first book from A Book Apart (from the Zeldman crew who bring you A List Apart ). Ships soon, in June.
They put it perfectly: The HTML5 spec is 900 pages and hard to read. HTML5 for Web Designers is 85 pages and fun to read. Easy choice.
# List current nodes
[zk: localhost:2181(CONNECTED) 5] ls /myapp
=> [server-0000000000]
# Fetch data for one of the nodes
[zk: localhost:2181(CONNECTED) 8] get /myapp/ server-0000000001
appserver
zookeeper ( Mirror of Apache Hadoop ZooKeeper)
Downloads: 1 File Size: 0.0 KB
Similarly, we can perform all of the same actions directly from Ruby via several libraries. The zookeeper_client gem provides bindings against the C-based API, but unfortunately …