Displaying 20 results from an estimated 20000 matches similar to: "Forum in rails 3"
2012 Oct 18
1
routing issue with mounted engine - Rails 3.2.8
I mounted the Forem::Engine in my app
MyApp::Application.routes.draw do
scope "/:locale" do
...
resources :sites, :only => [:none] do
get ''home'', :on => :collection
get ''events'', :on => :collection
end
..
mount Forem::Engine, :at => "/forums", :as => :forums,
constraints: lambda { |r|
2011 Aug 25
1
Devise + Forem: undefined method weeks on Fixnum
I''m getting the following message when trying to start Webrick or
console.
... devise-1.0.11/lib/devise.rb:89:in ''<module:Devise>'': undefined
method ''weeks'' for 2:Fixnum (NoMethodError)
After trying to upgrade my app to Rails 3.1 (edge) so that I may use the
Forem engine.
I''m under the impression this error is occurring because
2012 Mar 11
1
notifications (or flash messages) in an api application
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
As a noob in rails, i am having a problem on how to find a decent and straightforward notifications system for my application.
Being a Api like application (talking with the client is made using JSON / later on XML as well), i have a problem finding a good solution to feed my needs.
I have tried to use the rails validators, but then i have
2010 May 09
7
"File not found: lib" installing rails-3.0.0.beta3 on my Mac
I''ve always distrusted the ruby and rails installs on my Mac (oOS X
10.6.3) -- sudo gem cleanup can''t seem to get rid of old gem versions
(lots of Gem::InstallError: cannot uninstall).
Because of that, I don''t trust the rails beta3 install I just
completed. Here''s the story:
* config is Apple''s ruby 1.8.7 and gem 1.3.6.
* xcode is installed from
2002 Oct 29
1
documentation for require (PR#2226)
Full_Name: alec stephenson
Version: 1.6.0
OS: linux
Submission from: (NULL) (148.88.138.5)
The documentation for the function require is incorrect.
The file library.Rd has in its arguments section
\item{quietly}{a logical. If \code{TRUE}, a warning will not be
printed if the package cannot be found.}
which is incorrect, as a warning message is always given if the package
is not
2012 Mar 14
0
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
Jun-qi Deng <dengjunqi06323011 at gmail.com> writes:
>> Is it? In my experience, it isn't. Please show the relevant command
>> generated by your makefile and the associated error message(s).
>>
>
>> RTTI is an on/off option that changes per LLVM library, so setting
>> -fno-rtti for using LLVM makes no sense. VMCore and Support have -frtti
>> while
2019 Jul 29
2
initramfs annoyances (I think)
> Am 29.07.2019 um 22:37 schrieb J Martin Rushton via CentOS <centos at centos.org>:
>
> On 29/07/2019 20:58, mark wrote:
>> Moved a server from the datacenter to our secure room. I've changed the
>> DNS, and our dhcpd... and yet, every time it boots, it comes up with the
>> IP it had in the datacenter.
>>
>> Any idea where it could be caching the
2012 Mar 14
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
> > Recently I think I found a bug in llvm's CMakeLists.(I use llvm 3.1svn
> and
> > Clang 3.1) I follow the normal way to try to compile an application that
> > utilize both clang and llvm: I ./autogen.sh it, ./configure it and make
> it.
> > But the make fails. At last I found out the failure is because that the
> > Makefile's CXXFLAGS does not contain
2008 Nov 25
1
SpeechSDK51.exe - Install fails after > v1.o Ubuntu
Hi All,
I am currently working to intergrate the MS SAPI engine into Ubuntu Linux, I want to harness its TTS and Speech recognition features.
At the moment i have managed to get a version working in wine but only by using an older version that was included in Gutsy to install the package and then migrate it into the newer version of wine.
I copied reg files and drive_c to a new 1.1.9 version
2011 Sep 01
3
how to get the varifying character with two variables?
hi R user
mtdno<-paste("data",1:3,sep="")
tyno<-paste("obs",1:5,sep="")
flnm<-paste(mtdno,tyno,"_err.dat",sep="")
flnm is
[1] "data1obs1_err.dat" "data2obs2_err.dat" "data3obs3_err.dat"
[4] "data1obs4_err.dat" "data2obs5_err.dat"
but actually what i want is data from 1 to 3
2012 Mar 08
6
how to modify the tickment of x-axis
hi
I plot a series of observation data every minutes in a day as the
attachment below
plot(wnd,type='l',lty=1,col='red',lwd=1,xlab=xxlab,ylab=yylab,ylim=YY)
In the figure, the x-axis tickment is the number of data How can I change
it
fore example 1h 2h 3h 4h and so on ?
--
TANG Jie
Email: totangjie at gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
2004 Dec 14
4
Several questions in R
Hi,
I have several small question in R,
1) How to display all the variables in current workspace?
2) How to write a long command in two lines. Suppose one command line is
long to be put within one line.
Thanks!
tang
2015 Mar 09
5
Notes on building a gcc toolchain for Rtools (but not multilib)
On Mon, Mar 9, 2015 at 3:50 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> On 08/03/2015 10:02 PM, Hsiu-Khuern Tang wrote:
>> Hi,
>>
>> [This is a follow-up to the "New version of Rtools for Windows" thread
>> in January, but I just subscribed and don't know how to reply to an
>> old thread -- my apologies.]
>
> I am planning to
2020 Sep 04
2
using experimental intrinsics failed
Hi Craig:
It’s llvm 10.1 I think, I did the same thing, removing everything except the code block but still failed with llvm-as.
Thank you
Xuan Tang
On Sep 3, 2020, 20:14 -0500, Craig Topper <craig.topper at gmail.com>, wrote:
> I just pasted that code and ran it through llc, opt, and llvm-as. All passed without issue. What version of llvm are you using?
>
> ~Craig
>
>
>
2012 Mar 14
6
where I can find more color names or color definition?
hi everyone .
Now I want to draw several lines in one frame.And it seems needs more
colors except for blue red,black .Where can i found these color name or
define some new color ?thank you .
--
TANG Jie
Email: totangjie@gmail.com
Tel: 0086-2154896104
Shanghai Typhoon Institute,China
[[alternative HTML version deleted]]
2020 Sep 04
2
using experimental intrinsics failed
Hi Craig:
I tried that, now the function is like this:
; Function Attrs: norecurse nounwind readnone ssp uwtable
define { double, double } @add(double, double, double, double) local_unnamed_addr #0 {
%5 = call double @llvm.experimental.constrained.fadd(double %0, double %2, metadata !"round.downward", metadata !"fpexcept.ignore")
%6 = fadd double %1, %3
2020 Sep 09
3
constrained cosine rounding mode behavior
Hi:
I am trying to implement interval arithmetic through llvm. I have a problem with the rounding mode with llvm.experimental.constrained.cos
I have two pieces of codes:
; Function Attrs: norecurse nounwind readnone ssp uwtable
define double @cosine_down(double returned) local_unnamed_addr #0 {
; call the llvm intrinsic to perform downward cosine
2009 Jul 29
2
quetions about dimensions
hi ,everyone,
I have a script shown as below:
> bj2=bjerrdata$tyerr[bjyearnum[2]+1:bjyearnum[3]]
> length(bj2)
[1] 448
while
> b=bjyearnum[3]
> a=bjyearnum[2]+1
> bj1=bjerrdata$tyerr[a:b]
> length(bj1)
[1] 169
it is different with bj2 and bj1 . and the array bjyearnum is
[1] 0 279 448 633 1021 1365 1813 2237 2839 3314 3798 4157 12
why bj1 is 169 while bj2 is 448
2009 Jul 18
3
how to run the R script in background in Windows XP?
Hello ,everyone.
I am a fresh user of R. I wrote several several R script in R with the
version 2.9.1 in Windows XP. But I only can run these scrpit via R-GUI.
Can anyone tell me how to run the scripts in background without openning
R-gui.In another word, run the R-script and get the result via
some batch proceesing files or shell scripts directly?
Thanks.
.
--
TANG Jie
Email:
2015 Mar 10
2
Notes on building a gcc toolchain for Rtools (but not multilib)
----- Original Message -----
> From: "Duncan Murdoch" <murdoch.duncan at gmail.com>
> To: "Hsiu-Khuern Tang" <tangoh at gmail.com>, r-devel at r-project.org
> Sent: Monday, March 9, 2015 10:40:02 AM
> Subject: Re: [Rd] Notes on building a gcc toolchain for Rtools (but not multilib)
>
> On 09/03/2015 11:07 AM, Hsiu-Khuern Tang wrote:
> > On