similar to: flash[:notice] not working

Displaying 20 results from an estimated 10000 matches similar to: "flash[:notice] not working"

2013 Jan 08
6
Fwd: HOW TO USE SSL IN SAVON
HI All, I want to consume the SOAP apis using SSL in the SAVON gem, but I am facing the below error while trying to access the soap services. client = Savon.client(wsdl: "https://xxx?WSDL") client.operations HTTPI GET request to xxxxx (curb) HTTPI::SSLError: Curl::Err::SSLPeerCertificateError In the Savon site <http://savonrb.com/version2.html#globals-ssl> I found that options
2012 Dec 06
6
How to allow the user to user their own domain name
HI All, I am currently having feature where my users to have a subdomain for their account like xxx.myaddress.com,yyy.myaddress.com these will point to the corresponding users . How can I implement the feature where user can enter their own domain name instead of sub domain? regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe
2012 Oct 08
11
Problems setting gmail mail
Hello, as attachment my problems concerning gmail Mailer errors in Rails. I hope anyone can help me out with the problem? If there is extra information needed, please tell me what you need more to help me out of my problems! Greetings! Attachments: http://www.ruby-forum.com/attachment/7790/errnoECONNREFUSED.jpg -- Posted via http://www.ruby-forum.com/. -- You received this message
2011 Mar 17
7
Beta Invitation in Rails 3, little problem
INVITATION BETA EMAIL I have in the email that the app send to friend''s email address ------------------------ You are invited to ExampleApp.com click below to signup http://localhost:3000/signup.efweiuvwnjernfwkefwebhsohj ------------------------ But I have a dot in the url beteween http://localhost:3000 and the token I wish the following url
2012 Sep 25
1
Devise Gem
Hi all i am learning how to implement devise gem but i just want to know do i need to write the login code first and then runt this command " rails generate devise:install " or run the command first and then go for login code. can any one tell me what to do. Cheers Kp -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Jul 19
6
Rendering Partial
I am a bit confused when coming from layout and partials. To start of I have a file called application.html.erb which has my layout such has follow <html> <head> <body> <%= render ''layouts/footer'' %> </body </html> This call a new file _footer.html.erb This file his has follow <footer class="footer"> <nav> <%=
2013 Jun 28
2
Hash_Tag Client side Validation
Hi anybody help me to find suitable validation way for Hash_Tag, My need is user should only type hash_tag like below format. a) #sports b) #sports,#news Please Help Me, Regards, Manoj. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving
2013 Dec 12
2
JS response -pls help somebody
Hi all, Pls help to find a solution : i have a form like following <%= form_for @product , :url => products_url(:format => ''js''), :html =>{:id=>"create_product_form" ,:multipart => true,:remote=>true} do |f| %> what i have to do is like when submiting form i have to redirect to new page else want to execute js like following def create if
2012 Aug 07
9
How do I force link_to/form helpers to use the superclass name in the path instead subclass?
I want my helpers to generate paths using a superclass instead of the subclasses. Assuming I have Owner and Member that both inherit from User, rails will use the current objects class name when generating paths: Let''s say current_user is a mod: <%= link_to current_user.name, current_user %> will generate "/mod/:id". I want to force it to generate
2012 Jun 09
7
ActiveRecord::AssociationTypeMismatch in UsersController#update
Hi Im trying to link my User model to a Teams model. I seem to be getting the following errors. Any help would be great as Im just new to RoR Thanks error ActiveRecord::AssociationTypeMismatch in UsersController#update Team(#2183395560) expected, got String(#2174675960) app/controllers/users_controller.rb:67:in `update'' app/controllers/users_controller.rb:66:in `update''
2010 Feb 25
9
uninitialized constant UsersController::User
i just created an application to list the primary details of userbut it is showing an error lik this "uninitialized constant UsersController::User" this is my controlller class UsersController < ApplicationController puts"hiiiiiiiii" def index puts"hiiiiiiiii" @users = User.find(:all) puts @users respond_to do |format| format.html # index.html.erb
2012 Sep 20
4
access controller's object attributes in view page
Hi, I am new to ROR and learning it. In my controller I have an admins record and I am passing that admin object to the admin''s view page to get the name of the admin. But when I try to access the name it is showing error as "undefined method `name'' for :current_admin:Symbol".. Please help.. Please find my code below Sessions Controller def create
2012 Dec 13
23
make rails connect with database
i''m newbie in rails. i have problem with how to connect rails with database. before i can connect it with command "rake db:create" to create database. and "rake db:migrate" to migrate schema to database. but, i want to connect rails with database that i have before, not create it via rails. can you help me? -- Posted via http://www.ruby-forum.com/. -- You received
2013 Oct 21
6
I think I've found a mistake in Rails tutorial
At the point of this section *http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure*<http://ruby.railstutorial.org/chapters/sign-up#sec-signup_failure> clicking the "Create my account" button on the signup form shows the following image at <http://ruby.railstutorial.org/images/figures/signup_failure_rails_4.png> According to the tutorial, I must modify
2012 May 21
4
Rails developer required.
If you are experienced rails developer please let me know. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2012 Nov 18
3
Share partial among different resources
I am trying to render a file from Subject resource in a User resource view. I am getting error: undefined method `each'' for nil:NilClass. Apparently @subject is nil but not sure how to fix this... Here is User resourve view (users/show.html.erb) <%= render ''subjects/index'' %> Here is subjects_controller def show @subject = Subject.find(params[:id]) ...
2012 Jan 17
5
Is their any plugin/gem available to improve performance
Hi All, I am having an ror application with ruby1.8.7 and rails2.3.5, the performance of my application is not good enough. Is their any plugin or gem available to improve the performance. Also I have already optimized some of my code and db queries by optimizing the mysql query and by adding indexes, but those are not gave drastic change in the performance. regards, Loganathan -- You received
2012 Jul 17
24
Static Pages from Railcast
Hi everyone, I need several pages to be static but also modify when requested. I try following the railcast from Ryan at http://railscasts.com/episodes/117-semi-static-pages?view=comments Here what I have done!! rails g scaffold Pages name:string permanentlink:string title:string author:string access_level:string is_published:boolean meta_description:string meta_keyword:string
2012 Nov 12
7
RSpec: controller POST create
Rails 3.1.3 rspec-rails (2.11.4) rspec 2.11.1 I am new to rspec. I don''t quite understand tests for POST create part. I have generated scaffold, and simultaneously it generated controller_spec.rb as well. it "assigns a newly created plan as @plan" do post :create, {:plan => valid_attributes}, valid_session assigns(:plan).should be_a(Plan)
2012 Aug 01
2
'redirect_to' taking infinite loop.
Hi, The following controller method taking me into infinite loop. Once the update action completes I want to reload the ''index'' page. May I know why it is going into infinite loop? def update Device.find_by_id( params[:device_id] ).driver = ( params[:driver_id] == 0 ) ? nil : Driver.find_by_id( params[:driver_id] ) redirect_to :action => :index, :tab =>