rgsoc-2018
rgsoc-2018

##**RGSOC PROPOSAL: Upgrade to Rails 5.1.5** [![log.png](https://publiclab.org/system/images/photos/000/023/735/large/log.png)](https://publiclab.org/system/images/photos/000/023/735/original/log.png) ##**About us** We are team Akaringular composed of two awesome members: 1. Rachael Kiteme **LinkedIn: **[https://www.linkedin.com/in/rachael-kiteme-959a23119/](null) **GitHub: **https://github.com/rachaelkiteme **Email:**rachaelrirrie@gmail.com **Twitter:** @rirrieray 2. StellaMaris Njage **LinkedIn:** www.linkedin.com/in/stellamaris-njage-0528b1103 **GitHub:** https://github.com/StlMaris123 **Email:** stellamarisnjage@gmail.com **Twitter:** @StlMaris **Location: ** Nairobi, Kenya ##**Project description** Upgrade to Rails 5.1.5 The latest Rails Upgrade has come with awesome features such as: **a)Action Cable** Is a framework for handling WebSockets in Rails. It’s a completely integrated solution for managing connections, a channels layer for server-side processing, and a JavaScript layer for client-side interaction. It’s incredibly easy to use, and makes designing live features like chat, notifications, and presence so much easier. The most interesting thing about Action Cable is that you get access to entire Active Record and PORO domain model in your WebSockets work. It comes with brand-new ActionController::Renderer system that makes it trivial to render templates outside of controllers, when one want to reuse server-side templates for WebSocket responses. default development server is switched from Webrick to Puma to enable Action Cable to run in process with the rest of the app. **b)API mode** Rails is not only a great choice when it comes to building a full-stack application that uses server-side rendering of HTML templates, but also a great companion for the new crop of client-side JavaScript or native applications that just needs the backend to speak JSON. The new API mode makes this clearer such that when one creates a new Rails application using rails new backend --api, gets a slimmed down skeleton and configuration that assumes that one will be working with JSON, not HTML. By default, API mode relies on #to_json calls on model classes. But one can either use Jbuilder, Active Model Serializers, or look at the new JSONAPI::Resources project for a more advanced solution. API mode and Action Cable are the two star features of Rails 5.1.5. others **-test runner reports failures inline.** **-New Attributes API** **-ApplicationRecord **has is born as a default parent class of all models created by the generators. **-ActiveRecord::Relation **in_batches makes it much easier to deal with record work in batches at a time to lessen memory overloads. ##**Abstract/summary** The project still runs on Rails 4.2 ##**Problem** The projects runs on a Rails Version that is not up to date ##**Set Up** We have already forked the code base and installed it on our machines. We have also started making contributions in order to familiarize ourselves with the project. ##**Timeline/milestones** **March- June: ** Get to know our mentors and understand the project better Be active participants of all channels of communication used in the project Contribute to the project by solving bugs, Creating features,refactoring, creating issues (especially beginner friendly) to be solved, documentation and any other task required from us by the coaches. **July 1 - 14** - Update controllers and their tests - Default rendering on the controllers - Refactor methods and classes in the controllers **July 15 - 28** - Update models and mailers and tests - Refactor the methods **July 29th - August 4th** - Update all the configurations and ensure that the gems are compatible with all the library versions. - Test and refactor **August 5th - 18th** - Update mailers, views and services. - Update tests and refactor the code **August 19th - 31st** - Update Documentation - Code reviews **September 1 -14th** - Routing - Etags - Tests and code refactoring **September 15th - 28th** - Action pack: Helpers - Active Support - Tests and refactoring code **September 29th - ** - Continue working on issues - Clean up Code - Documentation ##**Team work** We were course mates in college and good friends. During the four year course we could do group discussions and work together in our assignments. Rails Girls Nairobi brought us together once more and we have since learnt to work together and improve each other. We both live in the same City and therefore meeting and working together is very convenient for us ##**Audience** This project will most helpful to the developers. With the new upgrade, It will be easier to refactor, remove deprecation warnings and most importantly sail a long and enjoy coding with the new code bases of Rails 5. ##**Passion** First, It is the motivation behind the project. Doing investigations on the Environment which is a very important factor for both living and non-living things to co-exist. Secondly, It is due to the community at Public Lab. They are very welcoming and easy to work with. ##**Commitment** We are both ready and available to give our all during the 3 months period and also after the internship. We do understand and acknowledge that this is a serious commitment and we are ready to commit our time resource for the success of the internship. We do appreciate the benefits that come along with this internship and we would not like to waste such an opportunity. ######...


Author Comment Last activity Moderation
warren "Cross posted at https://github.com/publiclab/plots2/issues/4585 ! " | Read more » over 5 years ago
warren " Hi, all - announcing our new call for mentors for 2019 here! https://publiclab.org/notes/warren/01-09-2019/call-for-summer-of-code-2019-mentors " | Read more » over 5 years ago
gauravano "Hi @shubhamsangamnekar9 , please do testing by opening a separate test note, as your every comment send notification to all the people present on t..." | Read more » over 5 years ago
kramadan "Hello! https://github.com/publiclab/plots2/issues/3893 " | Read more » over 5 years ago
warren "Hi, thanks for your proposal!!! Can you link us to some of your initial contributions? Thanks a lot! " | Read more » over 5 years ago
amychan331 " @gauravano @warren Thanks for bring up the testing. I did tried out testing for my React side project, but since I am new to Rails, I haven't look..." | Read more » over 5 years ago
radhikadua "Thanks! @bansal_sidharth2996 Yeah sure. I can create first-timer-only issues for the tasks which I plan to do in later weeks, so that I can keep u..." | Read more » over 5 years ago
bansal_sidharth2996 "It will be great if you can take some time in the timeline for engaging other contributors to get involved in the project by creating first-timer-o..." | Read more » over 5 years ago
bansal_sidharth2996 "@radhikadua I really liked the way you have explained the implementation details. Also, you have completed many contributions towards plots2. I rea..." | Read more » over 5 years ago
faithngetich188 "@ bansal_sidharth2996 and @warren thanks for your responses. I have updated my proposal and will be posting it to the main site soon. " | Read more » over 5 years ago
radhikadua "@warren Thanks a lot for the detailed review of the proposal! for Week 4: Select js chart library and add "No. of subscribers per tag" chart. - I ..." | Read more » over 5 years ago
radhikadua "@thayshi Sure, I'll contact you on gitter in few mins. :) " | Read more » over 5 years ago
thayshi "@radhikadua Maybe you can give me some advice how to improve my proposals? I did it in the last moment because I was a little confused and didn't k..." | Read more » over 5 years ago
radhikadua "@thayshi Thanks a lot! It really feels good to hear this from the fellow applicant. If you need any help with proposal or some issue you are workin..." | Read more » over 5 years ago
quinn-codes-synthesis "Aww, thank you! It's definitely busy, but it seems like it's "good busy" -- having more first-timers than first-timer issues is a pretty good probl..." | Read more » over 5 years ago
cess "Thanks @warren, Updating the proposal " | Read more » over 5 years ago
warren "Hi, Cess - again, great proposal! I left a comment on https://publiclab.org/notes/warren/10-23-2018/call-for-outreachy-2018-19-proposals which I th..." | Read more » over 5 years ago
warren "Hi @thayshi - i echo @gauravano's comments, and encourage you to fill out your proposal a bit more. I can see you've read others' proposals, and th..." | Read more » over 5 years ago
warren "This is a great proposal, thanks! I appreciate your attention to detail on things like redirects from old paths -- great thought! for Week 4: Sel..." | Read more » over 5 years ago
warren "Hello @faithngetich188 -- wow, you've made SO MANY contributions already! Thank you for your energy and enthusiasm! I love the mockups you've draw..." | Read more » over 5 years ago
warren "I love the Problem section -- so true!! :joy: Great idea to do a few different mockups before starting -- getting input on these may save us time ..." | Read more » over 5 years ago
warren "Cool, Techtonica looks like a great organization! This looks like a good timeline for the work. I agree with @gauravano that it'd be great to see s..." | Read more » over 5 years ago
warren "Hi @gauravano - i see you submitted a bug report for this but I think it's not actually a duplicate, it's just a second appearance of the same note..." | Read more » over 5 years ago
thayshi "@radhikadua your proposals are so detailed and amazing, and you are so cool! " | Read more » over 5 years ago