Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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
    Sammy khaleel
    @Sammykhaleel
    would you be able to meet after 5? i got to do some things before that.
    Fari Liang
    @fariliang
    Ok.
    Sammy khaleel
    @Sammykhaleel
    Awesome
    Fari Liang
    @fariliang
    I will be in some networking events in nyu. Let me know when you are here.
    Fari Liang
    @fariliang
    Are you there yet?
    Fari Liang
    @fariliang
    Come to stern, the lab is not open.
    Sammy khaleel
    @Sammykhaleel
    What stern?
    Fari Liang
    @fariliang
    Where Are you now?
    I am in starbucks.
    Look for me there first and then we go into stern.
    We should do this very quick and then go to the networking event.
    Fari Liang
    @fariliang
    The reason why the css didn't work was because you typed framework as framwork....
    Fari Liang
    @fariliang
    The reason why the signup form on the page doesn't work is because it has to be <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :validate => true, :html => { :class => 'no_ajaxify'}) do |f| %> with the :class => 'no_ajaxify'.
    Every link on Ratafire that opens a new frame you have to have :class => 'no_ajaxify' or else it will be loaded by ajax.
    Fari Liang
    @fariliang
    Everything is working now......
    Sammy khaleel
    @Sammykhaleel
    ok limme pull
    Fari Liang
    @fariliang
    I haven't pushed yet.
    Still changing the style to make it look like ratafire.
    Sammy khaleel
    @Sammykhaleel
    ok
    im going to be on my way soon
    Fari Liang
    @fariliang
    I pushed it.
    Fari Liang
    @fariliang
    Can you come to my place to help carry some boards?
    Fari Liang
    @fariliang
    ?
    Never mind can you go to stern directly?
    Sammy khaleel
    @Sammykhaleel
    I'll be there in few mins
    Sammy khaleel
    @Sammykhaleel
    Bei Zhang
    tunecover.com