Displaying 20 results from an estimated 27 matches for "tomabroad".
2010 Mar 24
4
grouping and acts_as_tree
hi,
im using acts_as_tree and im not sure on how to group find-result.
x = find.almost_all
<p>
<% for y in @x.ancestors.reverse %>
<%= link_to h(y.title), page %> >
<% end %>
</p>
gives me a nice "breadcrum". but how is it possible to group the list lets
say by the 1level or second level?
thx
--
You received this message because you are
2010 Mar 24
3
flash error & fade away
this is my current code:
#notice {
border: solid 1px #99cc99;
background-color: #e2f9e3;
color: #006600;
padding: 5px;
margin-bottom: 5px;
}
#notice.error {
border-color: #e2f9e3;
background-color: #eeaaaa;
color: #cc0000;
}
<% flash.each do |key, msg| %>
<%= content_tag :div, flash[:error] || flash[:notice], :id => ''notice'',
:class =>
2012 Nov 30
1
q@ request.request_method=='OPTIONS', ajax, post json
hi
im reading through the topic above and trying to apply it to my app.
as reference i found:http://leopard.in.ua/2012/07/08/using-cors-with-rails/
my prob is that i dont see the ''preflight'', meaning the first request
prior the actual post, which should(?) deliver this:
request.request_method==''OPTIONS''
the js code look like this:
$.ajax
({
type:
2011 Aug 02
2
ror +auth_token + c#
HI,
i have to change a desktop app written in c# to post and get some data
to/from a rails app. the railsapp uses devise.
what im doing right now is:
1) pull up sign_in page
2) parse 1) for auth_token
3) post username+ pwd & auth_token
3.1) if 3 ok > goto 4)
4) post json data
that works all good, except that i do not provide auth_token in step4 , but
a) rails is still accepting my data.
2011 Aug 02
2
ror +auth_token + c#
HI,
i have to change a desktop app written in c# to post and get some data
to/from a rails app. the railsapp uses devise.
what im doing right now is:
1) pull up sign_in page
2) parse 1) for auth_token
3) post username+ pwd & auth_token
3.1) if 3 ok > goto 4)
4) post json data
that works all good, except that i do not provide auth_token in step4 , but
a) rails is still accepting my data.
2009 Jul 08
10
q: install asterisk + asteris-gui
hi, i
@asterisk
- svn-ed asterisk from digium 1.6
- make install
>> its running and i can access the CLI
@gui
then i
-svned asterisk-gui from digium
- installed
- repointes apache /var/www/1234 >> /var/lib/asterisk/static_html
>> now, i see the login box, but i dont have any credentials. tutorials are
suggestion manager.conf, BUT I DONT HAVE that file, in fact /etc/asterisk is
2010 Mar 26
7
seed data
Hi
I am using seed_fu to seed initial data to tables
(http://github.com/mbleigh/seed-fu) . And in db/fixtures/state.rb
I have values like (I am filling only two data for simplicity)
State.seed_many(:name, :abbr,:fips,:country_id, [
{ :name => "Alberta", :abbr => ''AB'',:fips => ''01'', :country_id =>
2 },
{ :name =>
2009 Dec 13
20
Need help...NameError in InteractController#add_to_cart
Hi,I am developing a web app and am following the text-Agile web development.....Each time I click my "add to cart" button" i always get the page below:I have double checked to see if i have errors in my code,there was none,please what do i need to do to proceed?
NameError in InteractController#add_to_cartundefined local variable or method `find_cart'' for
2009 Jul 09
0
q: sip registration fails...
[Jul 8 21:23:49] WARNING[4358]: chan_sip.c:10458 check_auth: username
mismatch, have <6001>, digest has <1160>
[Jul 8 21:23:49] NOTICE[4358]: chan_sip.c:18529 handle_request_register:
Registration from '<sip:6001 at 192.168.1.4 <sip%3A6001 at 192.168.1.4>>' failed
for '192.168.1.3' - Username/auth name mismatch
sip.conf
[6001]
user=6001
type = friend
2009 Jul 09
1
q: am i mixing somethign up?
hi,
checking my freshly installed astersik-gui, i can see a menu entry called
"Users". clicking on that one gives me the pages labeled (on orange) "User
Extensions on PBX". if i do make an entry here, it ends up in the user.conf.
file.
so i created a new entry in the sip.conf, reloaded asterisk > cant see it
anywhere in the gui....maybe im just confused here right now....
2009 Jul 09
0
q: port forwarding or NAT
hi,
making may way through all this...internal sip registration works,(cant call
yet but anyhow)...
the asterisk box is obvisoulsy behind a router. im not 100% sure if i should
go with port forwarding or NAT and if a or b, what additional setup is
actually correct?
sip_nat.conf # this is when i got the NAT -route, right?
#gets all the dyndns-stuff
#externip = home.mydomain.com (Enter your
2009 Aug 05
1
[asterisk]q: asterisk 1.6.1 install
hi
just donwloaded the 1.6.1 branch and made configure & install. so far so
good. after staerting asterisk with:
asterisk -vvvvcr
Could not load features.conf
== Registered application 'ParkedCall'
== Registered application 'Park'
== Manager registered action ParkedCalls
== Manager registered action Park
== Manager registered action Bridge
== Manager registered
2009 Sep 04
1
starfish - pbx
im confused:
http://www.h-online.com/open/Starfish-PBX-Management-Tool-for-Asterisk--/news/114154
whats that now? cloned - not cloned?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090904/52dae846/attachment.htm
2010 Jan 22
0
creating a new record in a pop-up-window
hi,
i have a Project-Task model association. The Project: SHOW & EDIT list
the tasks...now:
i want to have a pop-up-window triggered in the edit view. the
pop-up-window should show a basic Task-NEW form, BUT with some
information about the Project, eg the title of the project. after
submitting i want to get the Project -EDIT View to be reloaded.
1) i have the pop-up window:
2011 Mar 21
0
seek advise for slice & dice a table
hi,
im having a table which holds a lot of information. i would like to
slice & dice in a BI-manner the table. u guys have any suggestions?
table looks a bit like this:
user
app [appa, appb, appc]
action [actiona, actionb, actionc]
timestamps
...
so it would be cool to sort, drill in&up based on the various dimensions.
im not asking for a full bi-solution, but maybe the one or the other
2011 Apr 17
0
newbie: to_json only/except + association confusion
hi,
i want to return to_json with ''only'' and also filtered.so i tried
various ways, but none of them are really good:
A)#OK , but filter missing
format.json { render :json => @project.to_json(:only =>
[:title ], :include=> { :tasks => {:only=>[:id,:title] } } ) }
B)#Not OK > filter does not work,
format.json { render :json => @project.to_json(:only
2011 Jul 06
0
newbie: stuck at deploying whenever via cap
hi,
im trying to deploy whenver + multistaging via cap:
this is my task
run "cd #{release_path} && whenever --set environment=#{rails_env}
--update-crontab #{application}_#{rails_env}"
1)why i do append rails_env to --update-crontab? because i would like
to have 2 sets of cronjobs, one for each stage (staging & production).
problem is that a deploy (eg proeduction)
2011 Sep 13
0
need help with session
hi,
im having a hard time to see thru here:
after login , i see a different session_id then then one i saw on the
login-view. but what throws me off is, that i do store the sessionid
in the db here:
def after_sign_in_path_for(resource)
end
section of the application-controller. problem is that the values is
always the one from the ''old''/previous session.
any ideas?
im a bit
2012 Aug 11
0
how do u deal with tinymce and uploaded images
if i upload an image with tinymce while i''m in the new-article-action,
how do u set a reference on that image? article has paperclip
attachement.
thx
--
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