This is a testing site only. See the live Public Lab site here »


##**RGSOC PROPOSAL: Upgrade to Rails 5.1.5** [![log.png](]( ##**About us** We are team Akaringular composed of two awesome members: 1. Rachael Kiteme **LinkedIn: **[](null) **GitHub: ** **Email:** **Twitter:** @rirrieray 2. StellaMaris Njage **LinkedIn:** **GitHub:** **Email:** **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 "Thanks for your proposal! You have submitted this via the RGSoC site too, right? I see on there that: 28 Feb: Applications close -- just making sure! " | Read more » over 5 years ago
warren "So great to hear from you again @stella! You have submitted this via the RGSoC site too, right? I see on there that: 28 Feb: Applications close -- ..." | Read more » over 5 years ago
warren "Hi, folks! One thing I wanted to suggest was also including an outreach plan in your proposals -- it doesn't need to be too long, but just some ide..." | Read more » over 5 years ago
sagarpreet "Hi @tech4gt ... i guess in the portal in Step 1 => you have to provide a Public link to Google docs . Step 2 => Provide some information on..." | Read more » over 5 years ago
tech4gt "Hello everyone, please help me with how to translate this proposal to the one that has to be submitted on google's website, as in should I just cop..." | Read more » over 5 years ago
cess "@warren Yes I am familiar and comfortable with rebasing code often and thanks for the information. " | Read more » over 5 years ago
warren "Great -- thank you!!! I think you're right there is not a Rails 5 issue. Perhaps we're waiting until the Rails 4.2 one is complete! I do like how t..." | Read more » over 5 years ago
warren "Hi, folks with API-related proposals! I've left a mix of comments on your various proposals: #soc-2018-api @milaaraujo @stefannibrasil @Raounak @s..." | Read more » over 5 years ago
warren " @warren has marked stefannibrasil as a co-author. " | Read more » over 5 years ago
warren "I also think some other tasks to consider might be: ensure multiple format access: json, rss, etc for legacy endpoints that have these consider r..." | Read more » over 5 years ago
warren "Hi, this is super. Sorry for responding slowly but your timeline is really great. One suggestion: Start writing integration tests for the new feat..." | Read more » over 5 years ago
mkashyap354 "Okkay @meghana-07 no problem. Best of luck for your exam. " | Read more » over 5 years ago
meghana-07 "@mkashyap354 , we are currently busy with University exams. We will solve first timer issues and also update the proposal by 22nd March. Thanks " | Read more » over 5 years ago
cess "@mkashyap354 and @warren I updated the milestones part. Sorry I forgot to say I did. As for the issue to link I did not find an issue of the same o..." | Read more » over 5 years ago
mkashyap354 "@meghana-07Any updates.? Thanks " | Read more » over 5 years ago
mkashyap354 "@cess Any updates.? Thanks " | Read more » over 5 years ago
evjam "This running as the first prototype, room for expansion of data collection and projections; e.g. opportunity for commercial prospects, such as fish..." | Read more » over 5 years ago
evjam "I would need help with the logistics - the high frequencies, GPS data and deep space stuff. In terms of design, user-trial, error, and amendments I..." | Read more » over 5 years ago
evjam "thanks Warren, heres ideas and draft..what do you think!? (: " | Read more » over 5 years ago
Bronwen "Hello @sukhbir, welcome to Public Lab! You've reached our site moderators: we're the ones who approve all fist-time posters. I'm Bronwen, a member ..." | Read more » over 5 years ago
warren "Hi, this is a great start. It would be great if you'd take a first step at making a small contribution to our code, at" | Read more » almost 6 years ago
warren "Hello! This is an interesting idea -- I'd love to see it fleshed out a bit more. We do need user experience help! Maybe you have some sketches, wi..." | Read more » almost 6 years ago
warren "Hi, everyone -- just a note that if you want to link to your contributions to Public Lab so far, on a given project, you can use this style of link..." | Read more » almost 6 years ago
warren "Hi @stella -- do you think you could repost this as a response to this post?" | Read more » almost 6 years ago