Posts by Bruno Fonseca • 165 points
15 posts
-
1
votes1
answer737
viewsQ: Accessing Rails Link Table Fields
MODIFIED QUESTION: I have an application that has 2 tables: Curso and Cargo and a Third Table curso_cargo that makes the HBTM between them. I would like to know how to access a field of this table…
-
1
votes1
answer95
viewsA: Null values in check boxes
The problem has been solved. Very simple thing: On my form, I set up the scheme <fieldset class="box"> <legend> <%= l(:lbl_knowledge)%> </legend> <% for competence in…
-
0
votes1
answer95
viewsQ: Null values in check boxes
In my application, I need that if the User unchecks all check boxes informed to him , be saved a Array nulo or []. I’m using params[:parametro1][:parametro2_ids] ||= [] after initializing my Action…
-
0
votes1
answer84
viewsQ: Sending Records from a new View
I created a new action knowledges on my controller responsabilities and created a view called nested_knowledges. I made the action , render this view. I put the following code in this view: <%=…
-
0
votes1
answer552
viewsQ: Creating a new view in a Controller
In a Rails project, I created a Scaffold Responsability and consequently Rails created the whole basic structure of this Scaffold. I created a has_and_belongs_to_many relationship between a model…
-
0
votes0
answers24
viewsQ: Relationship N:N on Ruby on Rails
I have 3 tables in my project that need to be related: responsabilities, knowledges and knowledges_responsabilities, which summarizes : Each responsabilitie may have 1 or more Knowledges, and each…
-
0
votes1
answer65
viewsQ: How to create Access Rules for a plugin?
I am developing a plugin for REDMINE. I have a menu created using the :top_menu, so it is at the top of REDMINE , with the Administration , etc... However, I want not all users logged in to the…
-
2
votes1
answer116
viewsQ: Creating Scaffold’s for plugins in Redmine
How do I create a Scaffold in a plugin redmine?
-
-2
votes1
answer151
viewsQ: Error while initializing Redmine
After making the modification in one of my plugins in development in Redmine , it can no longer initialize and returns me the following message: ActionView::Template::Error (can not load…
-
2
votes2
answers157
viewsQ: Initializing the Redmine
I have a little problem initializing my Redmine in the environment. After all Mysql configuration etc... when I use the command to start the application I get the message: ArgumentError (A secret is…
-
2
votes1
answer114
viewsQ: How to add a link in the Redmine menu only for logged in users?
I created a link, at the top of Redmine, for a certain sector of the company. I need to know how to hide this link if there is no logged in user. The button was created in the init.Rb file of my…
-
2
votes6
answers14419
viewsA: Which database should I use in a small desktop application?
I believe that by the language that was chosen and if the volume of data that this application will manage , use a DBMS connected to C#, Sqlserver Express itself. Now, for greater ease and…
-
2
votes1
answer255
viewsQ: Java file does not receive parameters from Inputstream
I have a problem with a class on my project application server. I need this class after compiled and running, to receive a message: or "MSG_PV" or "MSG_RV" from my REDMINE, to publish projects or…
-
1
votes1
answer67
viewsA: Rack - Redmine Plugin Publish Error
PROJECT GENERATING FUNCTION def exec_client begin hostname = Setting.plugin_gerar_versao_projeto['ip_number'] port = Setting.plugin_gerar_versao_projeto['port_number'] s = TCPSocket.open(hostname,…
-
0
votes1
answer67
viewsQ: Rack - Redmine Plugin Publish Error
I am creating a plugin for Redmine that will act as generator and publisher of projects within a repository, but I am having problems accessing my button Publish project. The function I created to…