Displaying 20 results from an estimated 10000 matches similar to: "Render new page but not refresh partial"
2014 Jun 08
0
Re-render partial inside a modal
*Inside my home.html.erb. I am rendering a partial inside a modal for my
sign-up.*
<div id="myModal" class="reveal-modal" data-reveal>
<%= render partial: 'users/form', :controller=>"users", :action =>"new" %>
<a class="close-reveal-modal">×</a>
</div>
*In my Users.controller.rb, I am
2014 May 22
0
Rails create login page
Dear all rails developers,
I want to create a login page.
Could any one show me how to create a signup and signin pages.
i have try follow many websites but i can not do it.
please help me, thanks,
veasna
--
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 emails from it, send an
2006 Jul 24
0
Ajax page.replace_html model validation render partial errors
Hi; I have the following setup:
A model: that validates using helpers like: validates_presence_of, etc..
A view: called ''new'' which renders a partial
The partial: _form which has error_messages_for and a
form_remote_tag , submit_tag and end_form_tag
An action ''create'': that gets executed via the submit_tag in the
_form and which
in case it can''t
2014 May 19
0
Missing production secret_key_base in rails
Hi,
I have asked this question on github<https://github.com/rails/rails/issues/15175>
.
Senny answered me to set
export SECRET_KEY_BASE =d1f4810e662acf46a33960e3aa5bd0
************************
in your peoduction server. but I do not know how to set that. I am
deploying in openshift. I also have access to SSH via putty. I have tried
this command in SSH but it gives an error "Invalid
2014 Aug 27
0
Could not install Rmagick Gem in rails 4 (Ubuntu 13.04)
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/home/anil/.rvm/rubies/ruby-2.0.0-p481/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.2. Can't find Magick-config in
2014 May 08
0
Rails log for rspec tests inside of an engine
Would anybody know how to do
this: http://stackoverflow.com/questions/20001361/rails-log-for-rspec-tests-inside-of-an-engine
?? thanks for the help
--
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 emails from it, send an email to
2014 Apr 06
0
collection_check_boxes with has_many through: association Rails 4
I am trying to list all the categories a user can be interested in with
check boxes so that a user can submit these interests through my join table.
collection_radio_buttons works with a simple has_many, belongs_to
association:
<%= collection_radio_buttons(:listing, :category_id, Category.all, :id,
:name do |b| %>
<%= b.label { b.radio_button} %>
<%= b.text %>
2014 Oct 23
0
Puppet agent message: Could not retrieve local facts: Could not find fact 'define_fact'
Dear all,
since today the puppet agent does not work anymore if it is executed by
service.
I prints out:
Could not retrieve local facts: Could not find fact 'define_fact'
If I run puppet agent -t I do not get the message.
I have updated facter from 1.7.1 to 2.1 and hiera from 1.2.1 to 1.3.4
I have
Linux RedHat 5 and 6
puppet 3.3.1
facter 2.1.0
hiera 1.3.4
ruby 1.8.7
Does any have an
2014 Mar 31
0
Rails Engine ActionController::UrlGenerationError on functional tests
Hi,
I'm looking for a way to solve an error I get each times I run my
functional tests. I have a Rails Engine gem (isolated), I have a JSON
action with a route declared. But each times I use the method get in a test
I get an ActionController::UrlGenerationError exception.
Here an example of code with the problem:
# config/routes.rbMyEngine::Engine.routes.draw do
resources :cats, only:
2014 Mar 31
0
Unable to delete post in sample blog application
Hi All,
I am new to RoR and I am writing a small blog application. I have added a
Destroy / Delete link to the post index, but when I click this delete link
the show action is fired. The log seems to confirm this:
Started GET "/posts/2" for xxx.xxx.xxx.xxx at 2014-03-31 15:51:03 +0000
Processing by PostsController#show as HTML
Parameters: {"id"=>"2"}
Post
2014 Apr 17
0
RestClient::ResourceNotFound in UsersController#index
Hi,
I am trying to implement Rest Api for a sample application for learning
purpose. But when I try to make a "GET" request through the RestClient it
is showing error as
RestClient::ResourceNotFound in UsersController#index
def index
uri = "#{API_BASE_URL}/users.json" # specifying json format in the URl
rest_resource = RestClient::Resource.new(uri, USERNAME,
2014 Apr 05
0
Datepicker FlatUI rails
Hi guys,
How does one use a datepicker flatUI calendar in rails? I have been poking
around for documentation, but can't seem to find any. Is there any out
there?
Thx!
--
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 emails from it, send an email to
2014 Mar 07
0
Abril Pro Ruby 2014 - The Tropical Ruby Conference
Hello everybody,
On April 24th to 27th the biggest Ruby Conference on the Northeast of
Brazil will be happening, Abril Pro Ruby <http://abrilproruby.com/>. We
would like to invite you to be part of the event and share you experiences
with great rubists from all over the world in Porto de Galinhas, very close
to Recife.
Speakers from everywhere are already confirmed to the event. Take a
2014 Mar 19
0
ActionView::Template::Error: end of file reached Rails 4.0.4
I have an application I'm migrating from Rails 3.2 to 4.0. On my CI
environment, I'm getting "ActionView::Template::Error: end of file reached"
randomly in different controller specs pointing to a view in which I have
"javascript_include_tag 'application'". Has anyone seen this before?
Relevant gems:
rails (4.0.4)
sprockets (2.11.0)
sprockets-rails (2.0.1)
2014 Jun 03
0
How to use Rambling Slider Rails
Dear all developers,
I want to use slideshow in my website. and i did a research rambling slider
could use with rails.
but i don't know how to use it. any one could help me.
thanks you,
veasna
--
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 emails from it, send an email to
2014 May 29
0
PATH problems with running Cukes from Jenkins
I'm having PATH problems with running my Cukes from Jenkins, more details
here:
http://stackoverflow.com/questions/23921127/cucumber-scripts-not-working-on-jenkins-due-to-path-issues
--
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 emails from it, send an email to
2014 Mar 27
0
Rack middleware for shared connection pools?
I have a Rails app that makes connections to other DBs. There may be
multiple users connecting to multiple DBs.
The app makes a database connection as part of an action. However, I
noticed a problem: there's too many DB connections remaining open, which is
causing the DB to not have enough connections remaining for new connections.
So the answer is using a shared connection pool.
2014 Jun 06
0
puppetlabs-java: installing oracle-jdk on ubuntu trusty 14.04
Hi,
puppet 3.6.1 on a vanilla trusty ubuntu server, trying to install
oracle-jdk:
class { 'java':
distribution => 'oracle-jdk',
version => 'latest',
}
exits with the following error:
Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold install oracle-j2sdk1.7' returned 100:
Reading package
2014 May 06
0
js .closest
I have a script:
$ ->
$(document).on 'change', ('.ops_select'), ->
val = $(".ops_select option:selected").val()
$.ajax '/projects/update_oncalls/',
type: 'GET'
dataType: 'script'
data: {ops_group_id: val }
which triggers a "update_concalls.js.coffee" file to replace a the value in
a select-tag.
2014 Mar 28
0
Trigger before save and after save from external process?
I have an external process changing the database of my app. Is there a good
way to trigger the before save and after save filters for models that get
updated, when it is an external process changing it?
--
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 emails from it, send an