[Student-projects] Project proceedings!

Ershad K ershad92 at gmail.com
Thu Aug 7 13:50:11 PDT 2014


Hi Abhineet,

Nice work! Looks like diaspora uses UsersController[1] to store user
specific settings in UserPreference model. You could use the same
controller. You might need to add an extra condition in update
method[2].

[1] http://git.io/fQTnyg
[2] http://git.io/-ySmhA

On Thu, Aug 7, 2014 at 8:21 PM, abhineet agarwal
<agarwal.abhi93 at gmail.com> wrote:
> Hi,
>
> I've stored the languages in the model that was built and assosiated in
> many-many with the users.All the rails conventions have been followed and
> iso codes are stored. Right now multiple select and deselect is possible
> too. But right now it doesn't remember each users language because I don't
> have a controller which assumes control after the form is submitted.There is
> a function getting_started_completed where it should redirect to but it
> isn't working. Please let me know which controller to use to save the
> languages to model after form submission? PFA the UI for selection too. Let
> me know if you want any changes with it.
>
>
>
>
>
> On Wed, Aug 6, 2014 at 7:21 PM, abhineet agarwal <agarwal.abhi93 at gmail.com>
> wrote:
>>
>> Hi,
>>
>> I have been sick for a very long time and had a discussion with Ershad
>> recently. I had some problems which I can't talk about in public. I have
>> been feeling a bit better now and got back on work. Designed the UI for
>> intake of languages while signing up but having problems on how to store it
>> into backend. I currently have them separately as ISO codes after selection.
>> Posted the same doubt on pull request page too. Once we decide on the
>> storage part I can push it and show the work so that it can be immediately
>> reflected. Implementing filter after that will be the only work left.
>>
>>
>> On Fri, Jul 18, 2014 at 8:22 AM, R. Daneel Olivaw <aashiks at gmail.com>
>> wrote:
>>>
>>> Oh Abhineet. Wish you speedy recovery man. And please take care of
>>> yourself before anything :)
>>>
>>> aashik
>>>
>>>
>>>
>>> On 17 July 2014 16:54, abhineet agarwal <agarwal.abhi93 at gmail.com> wrote:
>>>>
>>>> Hi,
>>>> I had a surgery to be done due to ill health so I wasn't able to work
>>>> the past few days and a couple of days more.
>>>> I will try to start working as soon as possible. Give me a few more days
>>>> and I will give the updates to the project.
>>>>
>>>>
>>>>
>>>> On Thu, Jul 17, 2014 at 10:30 AM, R. Daneel Olivaw <aashiks at gmail.com>
>>>> wrote:
>>>>>
>>>>> Abhineet,
>>>>>
>>>>> Any updates ? Hope you are not stuck.
>>>>>
>>>>> aashik
>>>>>
>>>>>
>>>>>
>>>>> On 21 June 2014 19:35, abhineet agarwal <agarwal.abhi93 at gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> This gem looks interesting, will give it a try and get back to you in
>>>>>> case of doubts.
>>>>>>
>>>>>>
>>>>>> On Sat, Jun 21, 2014 at 3:53 PM, Pirate Praveen <pravi.a at gmail.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> २०१४-०६-२१ १५:२२ [GMT]+०५:३०, abhineet agarwal
>>>>>>> <agarwal.abhi93 at gmail.com>:
>>>>>>> > Most likely yes, I just have to change the file names in
>>>>>>> > language_name.lang
>>>>>>> > . Those are the raw files it uses to find the names I guess. Even
>>>>>>> > if I am
>>>>>>> > able to do, how would I display it to the user ? They certainly
>>>>>>> > won't
>>>>>>> > understand some of them like dutch has "nl" . Again I will have to
>>>>>>> > use many
>>>>>>> > if  conditions while displaying it back to them.
>>>>>>> >
>>>>>>>
>>>>>>> I'm sure there will already be libraries to do the mapping, see
>>>>>>>
>>>>>>> http://steve.dynedge.co.uk/2011/07/25/language-list-gem-a-list-of-languages-iso-639-1-or-iso-639-3-for-ruby/
>>>>>>>
>>>>>>> --
>>>>>>> പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍
>>>>>>> You have to keep reminding your government that you don't get your
>>>>>>> rights
>>>>>>> from them; you give them permission to rule, only so long as they
>>>>>>> follow the
>>>>>>> rules: laws and constitution.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Abhineet Agarwal,
>>>>>> IIIT Hyderabad.
>>>>>>
>>>>>> _______________________________________________
>>>>>> Student-projects mailing list
>>>>>> Student-projects at lists.smc.org.in
>>>>>> http://lists.smc.org.in/listinfo.cgi/student-projects-smc.org.in
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Student-projects mailing list
>>>>> Student-projects at lists.smc.org.in
>>>>> http://lists.smc.org.in/listinfo.cgi/student-projects-smc.org.in
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Abhineet Agarwal,
>>>> IIIT Hyderabad.
>>>>
>>>> _______________________________________________
>>>> Student-projects mailing list
>>>> Student-projects at lists.smc.org.in
>>>> http://lists.smc.org.in/listinfo.cgi/student-projects-smc.org.in
>>>>
>>>
>>>
>>> _______________________________________________
>>> Student-projects mailing list
>>> Student-projects at lists.smc.org.in
>>> http://lists.smc.org.in/listinfo.cgi/student-projects-smc.org.in
>>>
>>
>>
>>
>> --
>> Abhineet Agarwal,
>> IIIT Hyderabad.
>
>
>
>
> --
> Abhineet Agarwal,
> IIIT Hyderabad.
>
> _______________________________________________
> Student-projects mailing list
> Student-projects at lists.smc.org.in
> http://lists.smc.org.in/listinfo.cgi/student-projects-smc.org.in
>



-- 
Regards,
Ershad K
http://ershadk.com



More information about the Student-projects mailing list