Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Sammy khaleel
    @Sammykhaleel
    Awesome how are you doing with the API?
    Fari Liang
    @fariliang
    We have to be registered as a Solution provider, and I am talking to Amazon for it.
    Fari Liang
    @fariliang
    There is a Gem today.......omg
    This person is saving the world....
    Sammy khaleel
    @Sammykhaleel
    haha i told you some will come up with solution.
    Fari Liang
    @fariliang
    Let me see if it is possible to change the Gem to do what we want, for it may be only for the buyer -> seller actions. However, how to call the API is in the Gem...
    We should find a way to contact this person, and thank him for doing so.
    Sammy khaleel
    @Sammykhaleel
    and buy him a bear
    *beer
    Fari Liang
    @fariliang
    Yeah, if he is on Ratafire, I will subscribe to him. I am emailing him now. He is in London...
    Sammy khaleel
    @Sammykhaleel
    there is more gems will come you will see
    Fari Liang
    @fariliang
    I agree. He is the first. Let's thanking and encourage him to build it to be even better... (I suddenly think I am so evil)
    Sammy khaleel
    @Sammykhaleel
    hehe
    Fari Liang
    @fariliang
    OMG, you see why I spent the first few days in the week to learn some strategies again...now it is time to use it.
    Sammy khaleel
    @Sammykhaleel
    let's so we can practice and prepare
    Fari Liang
    @fariliang
    Sure. Do you want to practice talking about Ratafire before Saturday.
    Sammy khaleel
    @Sammykhaleel
    Tomorrow?
    Fari Liang
    @fariliang
    Good idea. Do you want to meet at the lab?
    Sammy khaleel
    @Sammykhaleel
    Sure
    Fari Liang
    @fariliang
    When?
    Sammy khaleel
    @Sammykhaleel
    Hmm idk yet
    Fari Liang
    @fariliang
    Have you done the signup page? If so, can I change some of its styling tonight?
    Sammy khaleel
    @Sammykhaleel
    Ok this what happen when implement the mobile template into fresh rails app it works but when put it in ratafire the buttons does not respond i think there is some conflict in the css, we can work on that tomorrow too.
    Fari Liang
    @fariliang
    Ok. That will do.
    Sammy khaleel
    @Sammykhaleel
    also i had to defined three methods in the application controller to make devise signup form woks outside of devise files.
    Fari Liang
    @fariliang
    You don't.
    See the def home in static_pages_controllers.rb?
    There is no method of sign up in it.
    Because the forms I showed you are devise forms.
    Sammy khaleel
    @Sammykhaleel
    Nop
    Fari Liang
    @fariliang
    They will call the devise method directly.
    <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :validate => true, :html => { :class => 'no_ajaxify'}) do |f| %>
    Sammy khaleel
    @Sammykhaleel
    yes
    what is resource?
    this what i meant
    will give an error if put the form like that on any page outside divise files
    anyway i get it to work with these three methods
    def resource_name    :user  end  def resource    @resource ||= User.new  end  def devise_mapping    @devise_mapping ||= Devise.mappings[:user]  end  helper_method :resource, :resource_name, :devise_mapping
    Fari Liang
    @fariliang
    Interesting, how come the one on the homepage works?
    Sammy khaleel
    @Sammykhaleel
    because you call the routes
    not the form
    Fari Liang
    @fariliang
    You are right. So calling the routes will do.
    Sammy khaleel
    @Sammykhaleel
    yes but when i do that in the mobile views will show me ratafire form theme
    Fari Liang
    @fariliang
    Ok.
    Sammy khaleel
    @Sammykhaleel
    i defently need your help with the css
    Fari Liang
    @fariliang
    Ok. We will do that as well.
    Let's meet earlier in the afternoon in the lab then.
    Sammy khaleel
    @Sammykhaleel
    ok
    Fari Liang
    @fariliang
    Are you able to get there at 2?
    Sammy khaleel
    @Sammykhaleel
    not sure yet. ill let you know soon
    Fari Liang
    @fariliang
    Ok