I have a table of reviews and comments, where a review can have many comments. How can I have the add new comment form held inside the review partial?
I have two data types, which are used for hastache templates. It makes sense in my code to have two different types, both with a field named \"name\". This, of course, causes a conflict. It seems that
In my quiz page, I have ten questions. When the user goes through these questions, I store the IDs of wrong questions in a array. When the user clicks on the \"show result\" link, I\'m going to displa
What is common practice to initializ开发者_StackOverflow社区e a record with default values unless those are specified explicitely?
I am learning erlang and I stumbles over some behaviour I cannot quite understand. Take this piece of code. (I know there are existing libraries for what I am programming, but as I stated, I do this f
I am currently using the a开发者_C百科ccessible_by method of CanCan to fetch only relevant records of a model, which the logged-in user can access. So far, so good.
I am looking at a project where we send information from a peripheral device to an iPhone through the microphone input.
I\'m using the simple app shown in the Android documentation to play around with recording and playing audio. Just to add a small feature, I want to get the volume of the microphone while it\'s record
I have been searching and cannot find a solution yet. I want to also add cuepoints to a live recording video as it i开发者_StackOverflow社区s incoming.
I.e, if I have a record -record(one, {frag, left}). Is record_info(fields, one) going to always return [frag,