Displaying 20 results from an estimated 90 matches similar to: "AngularJS options with a simple_form checkbox"
2013 Oct 18
1
Rails 4 + AngularJs (unembedded client) integration sample
Hi everybody,
I''m experimenting with Rails and AngularJs (as unembedded client) and
decided to upload to a public github repository my efforts.
Of course, everything is just a toy application I use to experiment and
test on various stuff (there''s absolutely no production ready nor
TDD/BDD backed code).
As of now a very basic login/signup feature is implemented and
2008 Feb 27
7
older version of rails -- Unknown action error
Hi,
I''m using Rails 1.2.3 (constraint of the hosting company). I''m
getting this error
Unknown action
No action responded to subscriber
upon visiting http://mydomain.com/super_admin/subscriber/search
I have these files:
app/controllers/super_admin_controller.rb
app/controllers/super_admin/subscriber_controller.rb
app/views/super_admin/subscriber/search.rhtml
and below is my
2012 Sep 18
4
"best practices" for Rails serving RESTful JSON services for use by AngularJS, Ember.js, etc.
I''ve been writing a gem to implement and extend common controller
functionality so that Rails can be used with Javascript frameworks like
AngularJS (which we are using), Ember.js, etc. in such a way that the user
doesn''t have to tweak a a bunch of rails g controller boilerplate code to
provide services for use in these frameworks that in turn would require
various changes to
2005 Dec 01
0
Errors reported by Coverity in ext3.
[Re-sending to the ext3 list, with minor edits]
I'm in the process of fixing errors generated by the Coverity
tool on the Linux kernel, and I would like your comment on a
set of problems reported in ext3.
The main issue reported is not checking the return code of
ext3_journal_get_write_access() in various places. I would like
to know if there should be error handling in these cases. The
2012 Apr 07
1
AJAX form (using simple_form) with preserved error validation
I know it''s unlikely that anyone will check this link, but here''s hoping
http://stackoverflow.com/questions/10051050/ajax-form-using-simple-form-with-preserved-error-validation
Sorry, too hard to explain without showing the pics.
Abram
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2010 Jun 16
0
:wrapper_tag, :wrapper_class options (and more) with simple_form and Rails 2.3 ?
Hi,
I''m making my first Rails project and I''m using the simple_form gem
(version 1.0) with a Rails app (version 2.3.5). simple_form repository
v=1.0
Is there any way to implement the nice
options :wrapper_tag, :wrapper_class, :wrapper_error_class ? Or maybe
I''m missing something? :-D
Thank you for your advices
Fro_oo
ps : I can''t change my Rails gem and
2011 May 03
0
Simple_Form and Simple_Fields_For and working in Form_Tag, Fields_For
I have this form and i got it working as i want:
<%= form_tag(update_individual_photos_path, :method => "put") do %>
<%= fields_for "photos[]", @photo do |f| %>
.................
<% end -%>
<%= submit_tag("Post") %>
<% end %>
But i would like to move to doing this with simple_form_for and
simple_fields_for but i cant get it
2012 Apr 23
1
Simple_form bootstrap style inline-form not working properly
Anyone familiar with bootstrap and simple_form. Please help!
http://stackoverflow.com/questions/10279164/simple-form-bootstrap-style-inline-form-not-working-properly
--
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
2012 Jan 06
1
How to pass a field from simple_form as a hidden div value
Hi folks
Im trying to pass a value to my hidden div using simple_form but im
not sure how to do this, was wondering if anyone could help me with
this. Here is my view using simple_form
<%= f.label "First name" %>
<%= f.text_field :first_name %>
<%= f.label "Last name" %>
<%= f.text_field :last_name %>
<%= f.input :full_name, :as =>
2011 May 24
2
simple_form disable html5
Hello,
How do I disable html5 with simple_form gem?
I tried to type:
SimpleForm.html5 = false
in environment.rb
But this throws error.
undefined method `html5='' for SimpleForm:Module (NoMethodError)
Even though I see...
module SimpleForm
...
mattr_accessor :html5
@@html5 = true
...
end
Any explanation on this? How I can disable it in any other ways?
Thanks.
--
Posted via
2012 Jun 01
0
How to set the default value on a simple_form association
Folks
Im using simple_form and im able to see a selection of users from my
drop
down list but im trying to set the default value. Here is what ive tried
<%= f.association :people, :input_html => { :value => ''someval'' } %>
i want someval to be set in the selection by default. Any help would be
appreciated.
--
Posted via http://www.ruby-forum.com/.
--
You received
2012 Jan 07
2
set a default value with simple_form
hello
anyone know how i can set a default integer value with simple_form, i
have code like this below in my view but its not working.
<%= f.input :age, :value => ''30'' %>
i would like the input box to have the value of 30 by default
thanks for any help.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
2016 Aug 11
1
script to make webpage snapshot
I have some some angularjs sites that I test with protractor and a
chrome webdriver. I read in the docs at some point that I could take
and save screenshots if I wanted. You may be able to write a simple
nodejs script to kick of the webdriver and take the screenhsot. Or
someone may have already writen one :-)
https://www.seleniumeasy.com/selenium-tutorials/take-screenshot-with-selenium-webdriver
2013 Nov 14
1
Possible bug: TC with HFSC fails to load if umax is not provided
I stumbled upon a problem while upgrading Ubuntu 13.04, Shorewall version
from 4.4.26.1 to 4.5.16.1.
Everything was working fine before, after upgrading the script wouldn''t
start.
First some config files.
tcdevices:
#INTERFACE IN-BANDWIDTH OUT-BANDWIDTH OPTIONS REDIRECTED
eth1 - 6300kbit hfsc,classify
ifb0 - 6300kbit hfsc
2012 Dec 18
2
cache-busting non-digest assets in sprockets in development a good idea? should headers in sprockets be configurable?
Just monkey patched Sprockets in our Rails 3.2.9 app to override the
Cache-Control header for html assets that we need to tweak more often in
development, but that we don''t want to use digests/fingerprinting with:
# Sprockets 2.x patch
if Rails.env.development?
module Sprockets
module Server
private
alias_method :sprockets_headers, :headers
def headers(env,
2020 Mar 03
0
VoIP support engineer opportunity
Hello,
Voisonics is hiring a VoIP support engineer to assist our customers running
Asterisk based hosted PBX platforms. This is a part-time contract
work-from-home position.
For communication reasons we're looking for someone in a timezone
encompassing Far East Asia, Australia, New Zealand, Canada, the USA, and
Mexico. If you are not physically located in that area please do not apply
-
2014 Jun 04
0
Rails with Angular and Devise
I had a non-Angular Rails app with Devise powering the authentication.
Almost all of it.
However as we are moving it to AngularJS, had a question or two about how
to integrate that with Angular.
1. What all parts of Devise can still be used?
2. What are best practices around how to maintain session in angular?
3. Also, how do I manage multiple roles(*based on 2 different models*,
2023 Apr 28
0
VoIP support engineer opportunity
Hello,
Voisonics is hiring a VoIP support engineer to assist our customers running
Asterisk based hosted PBX platforms. This is a part-time contract
work-from-home position.
For communication reasons we're looking for someone in a timezone
encompassing New Zealand, Canada, the USA, and Mexico. If you are not
physically located in that area please do not apply - being "flexible"
2006 Apr 04
6
check_box_tag is limited?
Hello all.
Am I going totally nuts here and just want to check (Natch!) something.
A normal check_box has two value posssibilities. One for checked and one
for unchecked, the value gets submitted with a form.
The check_box_tag on the other hand, has a checked_value (Called just
''value'') and for the unchecked value...nothing, zip, nada.
This means that if you submit a form with
2016 Aug 11
3
script to make webpage snapshot
On Thu, August 11, 2016 5:13 pm, Dave Stevens wrote:
> Quoting Valeri Galtsev <galtsev at kicp.uchicago.edu>:
>
>>
>> On Thu, August 11, 2016 5:02 pm, John R Pierce wrote:
>>> On 8/11/2016 1:46 PM, Valeri Galtsev wrote:
>>>> Could someone recommend a script or utility one can run from command
line
>>>> on Linux or UNIX machine to make a